Creating a User Feature Containing a Check

You can create a user feature containing a check.


Before you begin: To access the models used in this topic, import the Bounding_Box_Reference_000.3dxml and the Bounding_Box_Destination_000.3dxml files located in win_b64\startup\Knowledgeware\3D Templates Samples\Sample1.
See Also
Instantiating a User Feature Containing a Check
  1. From the Compass, click 3D Modeling Apps and select Engineering Rules Capture in your reference shape. In our example, open the Bouding_Box_Reference shape.
  2. Click Check .
    The Check Editor dialog box appears.
  3. Replace the default name with Bounding_Check.
  4. Enter the script (the following line in our example) and click OK:
    length (`Construction Sphere\Elements\Radius.1` ) - distance (`Construction Sphere\Elements\Extremum ZMax` ,`Construction Sphere\Elements\Center.1` ) > 0m.
  5. From the Compass, click 3D Modeling Apps and select 3D Templates Capture.
    The 3D Templates Capture app opens.
  6. From the Manage Templates section, click User Feature .
    The User Feature Definition window opens.
  7. Replace the default user feature name by a new name, Bounding Sphere in this example, and select the inputs of the user feature in the tree. In this example, select:
    1. Axis System.1.
    2. Construction Sphere.

    • Datum features that cannot be calculated cannot be inputs of user features.
    • Sub-elements cannot be components of user features. For example, the face of a pad can be an input.

  8. Click the Parameters tab, select the Check\Result parameter and check Published. Click OK when done.

    To see the check result (red or green light) after instantiating the user feature, you must publish the check result parameter.

  9. Select Share > Save > Save with Options and close the 3D representation.