Description | |||||||||||
Allocates and initializes memory for location reference | |||||||||||
Synopsis | |||||||||||
#include <ProCabling.h> | |||||||||||
ProError | ProCablelocationrefAlloc | ( | |||||||||
ProCablelocationType type | |||||||||||
/* (In) | |||||||||||
The location reference type | |||||||||||
*/ | |||||||||||
ProSelection* refs | |||||||||||
/* (In) | |||||||||||
The ProArray of ProSelections (If the type is PRO_LOC_TYPE_CONNECTOR, PRO_LOC_TYPE_POINT, PRO_LOC_TYPE_AXIS, PRO_LOC_TYPE_OFFSET, or PRO_LOC_TYPE_LOC, one reference is sufficient). | |||||||||||
*/ | |||||||||||
ProBoolean with_axis_dir | |||||||||||
/* (In) | |||||||||||
If PRO_B_TRUE, follow the axis direction. If PRO_B_FALSE, go in the opposite direction. | |||||||||||
*/ | |||||||||||
ProVector offset | |||||||||||
/* (In) | |||||||||||
The offset | |||||||||||
*/ | |||||||||||
ProCablelocationref* ref | |||||||||||
/* (Out) | |||||||||||
The location reference | |||||||||||
*/ | |||||||||||
) | |||||||||||
Returns | |||||||||||
|