API Documentation > Cabling > Object ProCablelocationref > Function ProCablelocationrefAlloc
Function ProCablelocationrefAlloc
Description
Allocates and initializes memory for location reference
Synopsis
#include <ProCabling.h>
ProCablelocationrefAlloc
(
/* (In)
The location reference type
*/
/* (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
*/
/* (Out)
The location reference
*/
)
Returns
The function successfully allocated memory.
One or more of the arguments was invalid.
Not enough memory.
User Guide References
Was this helpful?