Examine the Drawing
Take a few minutes now to look at the features of this drawing.
• Notice the part structure. The front face is the top part, while the back face is a sub-part named "slot-grid." Parametric Design only works on the current part, so our macro must be able to switch from part to part.
• Both parts of the drawing are already in the zone.
• Examine the initial constraints on the top part:
a. Make the top part current. Type: EDIT_PART TOP [Enter]
b. Select SHOW User All Types in MENU 2.
The Dimension, Distance, and Symm Line constraints ensure that all four intake ports retain their configuration in variations. The Ref Point constraints Pt1 and Pt2 were created only to provide information to our macro. This is explained later.
Figure 307. Intake Constraints
• Examine the constraints on the "slot_grid" part now. (Hint: make "slot_grid" the current part in order to examine it). Notice that the slot radius has been parameterized as "Newrad." How did we ensure that all three exhaust ports will remain the same size?
When you have finished looking at the constraints, make sure that top part is current and that your main window shows both parts.