Return to Statement


Chain Select Example 2

This example demonstrates the use of the CHAIN statement to select several objects.

$$
$$ Declarations
$$
ENTITY/LN1,LN2,LN3,LN4,OBJ(4)
LN1=LINE/-1,-.5,1,-.5
LN2=LINE/1,-.5,1,.5
LN3=LINE/1,.5,-1,.5
LN4=LINE/-1,.5,-1,-.5
CHAIN/START,LN1,XLARGE,END,LN4,OBJ,CNT,NUM

The CHAIN Statement with a Positional Modifier and an End Object.

NOTE: In the program above the direction of motion was ambiguous, therefore, a positional modifier and an END object was specified. The variable NUM is assigned the value four as all of the lines are selected.