User's Guide > Production Applications: Cabling > Cable Routing Locations
Cable Routing Locations
 
Functions Introduced:
The locations though which a cable is routed are identified by ProCableLocation structures, which are of the same structure as ProModelItem. The ProCableLocationsCollect()function provides an array of the structures for the locations through which the specified cable is routed. The function ProHarnessLocationsCollect() provides an array of the structures for the locations in a specified harness.
The function ProCablelocationTypeGet() gives the type of a specified location. The following table lists the valid location types.
Location Type
Equivalent Command in the CBL ROUTE Menu
PRO_LOC_CONNECTOR
Connector
PRO_LOC_POINT
Pnt/Vertex
PRO_LOC_FREE
Free
PRO_LOC_DEPENDENT
Dependent
PRO_LOC_AXIS
Along Axis
PRO_LOC_USE_DIR
Use Dir
PRO_LOC_OFFSET
Offset
PRO_LOC_SPLICE
Splice
PRO_LOC_LOC
Location
PRO_LOC_OFFSET_CSYS
Coordinate Offset
PRO_LOC_OFFSET_AXIS
Axis Offset
The function ProCablelocationPointGet() provides the XYZ coordinates of the location in the coordinate system of the harness.
The function ProCablelocationCablesGet()provides an array of the names of cables routed through the specified location.
¿Fue esto útil?