This functionality is only available for certain module packages.

You are here: Tutorial > Project generation per import > Part 2 - Placing components on placeholders and updating extension points > Placing a component on a placeholder by importing an XML file

Placing a component on a placeholder by importing an XML file

Requirements:

In addition to the system libraries, the library catalog contains the architecture T_Mechatronic_Architecture and the modular system T_Mechatronic_ModularSystem.

The Feeder project exists in the Project catalog.

The XML file T2_Component.imx is imported in order to install a component in the existing configuration.

Proceed as follows to install a component on a placeholder:

  1. Select the menu item File > Import....
  2. The import wizard opens with the Select page.

  3. Navigate to Project > Import.
  4. Confirm via [Next >].
  5. The import wizard opens the page Import file.

  6. Specify the file 2_Component.xml in the Source file name field.
  7. The file is located in the following directory:

    <EEC installation path>\resources\Import\XML

    Use [Browse...] to navigate to the file. If applicable, select the file filter XML files (*.xml).

  8. Specify the file XML_without_template.xsl in the Scheme file name field.
  9. The file is located in the following directory:

    <EEC installation path>\resources\Import\XSL

    Use [Browse...] to navigate to the file.

  10. Leave the Template file name field empty.
  11. Remove the Create new project option and mark the Feeder project in the list below it.
  12. Confirm with [Finish].

Result:

The new configuration called Feeder is displayed in the project catalog:

The Feeder configuration contains the Feeder with the built-in components Insert, Move and Store.

The new aspect of this configuration is that the Inspect component is placed on the placeholder Placeholder_Inspect in Feeder. In the Inspect component the previously fixed installed component Orientationinspector has been replaced by the ExtensionPoint_Orientationinspector extension point.

The Discard component is thus active and is also displayed.

Note:

The display of placeholders, extension points and of components that are deactivated is influenced by the filter setting of the project catalog (see Filter).