Creating Submechanisms

You can create and use submechanisms if your model includes subassemblies.

A subassembly consists of a main product, and one or more subproducts. Each of these products can include a mechanism.

You can use submechanisms to create mechanism assemblies under any given mechanism that is current.

For more information, see About Mechanism Assemblies and Creating Mechanism Assemblies.


Before you begin:
  • Create a mechanism under a product (called parent product).
    Tip: To duplicate an existing mechanism, right-click it in the tree and select Duplicate . The duplicated mechanism appears under the parent product of the initial mechanism.
  • Create a mechanism under a subproduct of the parent product.
    Tip: You can also import a product with an existing mechanism under the parent product.
    Note: The mechanism must be compatible with the current app level. If not, upgrade or duplicate it. For more information, see Opening Mechanisms and Simulation Elements in Different Apps.
  • In the tree, right-click the parent mechanism and click Set as current.
See Also
About Submechanisms
Modifying Elements
  1. From the Mechanism section of the action bar, click Submechanism .
    A Submechanism node appears in the tree, under the Mechanisms node of the current mechanism.
  2. Optional: Modify the default name of the element.

    Tip: Click outside the field to update the name of the element in the tree.

  3. In the tree, select the mechanism to use as a submechanism under the current mechanism.

    Select a valid mechanism available at any level under the parent product of the current mechanism.

    Note: If the mechanism is not compatible with the current app level, upgrade or duplicate it. You can only update compatible mechanisms. For more information, see Opening Mechanisms and Simulation Elements in Different Apps.

    In the tree, the mechanism appears as a submechanism of the current mechanism.

    All the elements of the referenced subproduct mechanism are included in the submechanism.

    Notes:
    • The submechanism does not include global settings or initial conditions, as these are only associated with the referenced subproduct mechanism.
    • If you add, delete, or edit any element of the referenced mechanism, the corresponding submechanism appears as unsynchronized . From the Standard section of the action bar, click Update to update it.

  4. Optional: Modify the definition of one or several submechanism elements.

    For more information, see About Submechanisms.

    1. In the tree, under the Submechanisms node, double-click the element to edit.
    2. Edit the parameter or parameters.

      Note: You cannot edit grayed-out fields or parameters.

    A pen mask appears over the element icon in the tree.

    The associativity link with the referenced element under the subproduct mechanism no longer exists.

    Note: If you modify the definition or activation status of an element under the referenced subproduct mechanism and update the model, the corresponding submechanism element does not update accordingly anymore.

  5. Optional: To restore the parameters of the referenced elements, do one of the following:
    • Right-click the updated submechanism element in the tree and select Reset Parameters.
    • Right-click the submechanism in the tree and select Reset Parameters for All to restore the parameter values of all the referenced elements.
    • Double-click the updated submechanism element and, in the dialog box, either:
      • Click to restore the value of the referenced parameter.
      • Click Reset Parameters to restore all the parameter values of the referenced element.
    The associativity link between the referenced elements and the submechanism elements is restored.