Return to Statement


Chain Select Example 1

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

$$
$$ Declarations
$$
ENTITY/LN1,LN2,LN3,OBJ(4)
$$
$$ Geometry Definitions
$$
LN1=LINE/-1,-.5,1,-.5
LN2=LINE/1,-.5,1,.5
LN3=LINE/1,.5,-1,.5
$$
$$ Chaining
$$
CHAIN/START,LN1,OBJ,CNT,NUM

The CHAIN Statement without a Positional Modifier or an End Object

NOTE: In the program above the direction of motion was unique, therefore, neither a positional modifier, a point, or an END object was required. The variable NUM is assigned the value three as all of the lines are selected.