Overview | Statement List | Example 1 | Example 2


链选择

Synopsis

CHAIN/START,obj1[,{"PMOD3"|point}][,END,obj2],obj array[,CNT,count][,IFERR,label:]

Description

The following statement allows a series of curves which chain within the current chaining parameters to be assigned to an object array. You can specify the chaining direction using positional modifiers on the first and last object in the chain.

NOTE: The CHAIN command selects from the displayed part. If you are in "design in context" mode (the work part is different from the displayed part), you can use the &PROTO EDA to promote the occurrence objects which are selected by the CHAIN command to the prototype objects.

NOTE: The CHAIN command is not supported in GRIP Batch.

Parameters

Parameter

Description

START

Minor word that indicates that the following parameter are the first object in the chain.

obj1

An existing curve which is the first object in the chain.

PMOD3

A positional modifier which may be used to determine the direction of motion along the first curve.

point

A previously defined point which may be used to indicate the direction of motion along the first curve.

END

Minor word that indicates that the following parameter are the last object in the chain.

obj2

An existing curve which is the last object in the chain. If END,ent2 is not specified, the chaining operation proceeds until there are no more conjoint curves or until the object array is filled.

obj array

An object array which receives the objects selected by the chaining function.

CNT

Minor word that indicates that the following parameter is a variable which is assigned the count of the objects selected.

count

A variable which is assigned the count of the objects selected.

IFERR,label:

Specifies a label to which program execution jumps if an error occurs. If the minor word IFERR is used, and the object specified with the minor word END cannot be reached, then an error results. If the minor word IFERR is not used, then no error results, and as many objects as can be chained are returned.


Copyright ©2015 胡君NX二次开发官网(www.UGapi.com) QQ:85585969 All Rights Reserved.