Create a nested custom component
You can create more complex custom components by joining two or more components together as a nested componentcomponent that consists of several components
Nested components include elements that are modeled as sub-components.
. The original components become sub-components in the nested component.
- In the model, create the components and other model objects that you want to include in the nested component.
- Click the Applications & components button in the side pane to open the Applications & components cataloguser interface for displaying or modifying information in categorized lists
For example, profile catalog and shape catalog are catalogs.
- Click the Access advanced features button and select Define custom component.
The Custom Component Wizard dialog box opens.
- In the Type list, select the type of the nested custom componentcomponent that the user creates and uses for creating model objects whose composition the user can modify as a group
- In the Name box, enter a unique name for the nested component.
- Modify the other properties on the Type/Notes tab, Position tab, and Advanced tab, and then click Next.
- Select the components and any other objects you want to include in the nested component, and then click Next.
- Follow the instructions in the Custom Component Wizard to continue.
You will be asked to select the main and secondary parts for the nested component. Depending on the component type that you selected in step 3, you may also have to define other properties, such as detail or seam position.
- When you are happy with the settings, click Finish to create the nested component.
The component is added in the model and in the Applications & components catalog. The sub-components are shown in the Custom component browser , together with the other component objects:
- If you want to change the settings afterwards:
- In the custom component editor , click the Modify custom component settings button.
- Change the settings.
- Click OK.
If you use a component of the type plug-in as a sub-componentcomponent in a nested component that is subordinate to another component
of a nested component, and change the sub-component's properties in the custom component editortool that is used for modifying component that is created by a custom component, and for creating dependencies between component objects and other model objects
, note that those changes may be lost when you save the nested component and use it in a model.
To prevent losing any properties, link a variable to each plug-in property that you want to keep. You can also use component attribute files to do this. For more information, see Examples of parametric variables and variable formulas.