Category Cabling, Object ProCablelocationref

Function ProCablelocationrefAlloc


Description
Allocates and initializes memory for location reference
Synopsis
#include <ProCabling.h>
ProErrorProCablelocationrefAlloc(
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
PRO_TK_NO_ERRORThe function successfully allocated memory.
PRO_TK_BAD_INPUTSOne or more of the arguments was invalid.
PRO_TK_OUT_OF_MEMORYNot enough memory.

Manual References:

  1. Production Applications: Cabling: Cable Routing
  2. Production Applications: Cabling: Cable Routing