-
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.
-
Click Check
.
The Check Editor dialog box
appears.
-
Replace the default name with Bounding_Check.
-
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 .
-
From the Compass, click 3D Modeling
Apps
and select 3D Templates Capture.
The 3D Templates Capture app opens.
-
From the Manage Templates section, click User Feature .
The User Feature Definition window opens.
-
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:
-
Axis System.1.
-
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.
-
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. -
Select and close the 3D representation.
|