This example shows a small section of a GRIP program that creates an assembly. This section follows the creation of the base of the assembly where the program is going to show the user what geometry it considers the top of the base. Then the program can continue and the user knows what geometry to select for further construction. The program changes the font of the lines LN(1) through LN(4) (created earlier in the program) to dashed in the TFR-ISO view. After the user decides to continue, the program changes the font of the lines back to solid.
MESSG/TEMP,'BASE FINISHED'
VDEDIT/LN(1..4),FONT,2,'TFR-ISO'
MESSG/'DASHED LINES ARE BASE TOP'
VDEDIT/LN(1..4),REMOVE,'TFR-ISO'
CSYS1=CSYS/LN(1),LN(2)
&WCS=CSYS1
.
.
.
Assembly Base with View Modifications
Assembly Base after View Modifications Are Removed