The component element is selected via this icon:
The topics in this section are:
To create a new component only a single element can be selected. This single element can e.g. be a container with multiple elements inside.
To create the component you right click on the element e.g. container and select 'Create Component':
After you have clicked 'Create Component' this window is shown:
The fields are:
Folder
Here you can select a folder or create a new folder for the component with the magnifying glass on the right.
Component name
Type a name for the component to be saved.
Only inner contents
If this is activated (red - marker on the right), then only elements inside the selected container are moved to the component, and the component is referenced inside the container - like this:
If it deactivated (grey with marker on the left), then the container element itself is moved into the component:
When you click 'Create new component' the component is saved as the specified name with the extension .icmp in the selected folder. The output of the template remains the same. After this the component is also listed in the Library.
You can include a component while editing a template in two ways:
After that you are shown a list of all components and folders containing components. From here you select component a simply drag it to the result view.
You now click this icon to see the layout (element tree structure of the template):
You can also select a component to be inserted by clicking the '+' in the middle of the top and click the component icon in the second row:
After inserting the component, you can drag (or copy and paste) the reference to the component into another place in the tree structure if needed.
To change a component you need to include a reference to the component in a template. When you have done that you simply open the component folder and change the contents. This is almost too easy, so take care not to change a component by accident as this will effect all the other templates, that are using this component.
To avoid accidental changes you are warned in three ways:
First when you change a component you will see this warning message in the lower left corner:
Then a red dot is shown to the right of the changed component in the element list:
And when you later want to save your changes you are reminded again, if you also changed a component:
If you want to regret the change of the component, then you should select 'CANCEL' on the window above.
If you want to remove a component from a template, then you can delete the reference to the component in two ways:
Please notice, that this Delete Component function only deletes the reference to the component, it does not delete the component from the system.
If you want to delete the component from the system, then you should read this section.
If you right click on a component in the element list, then you will see these options:
The tools are described below:
The use of a common component is covered in this video: