Typedef struct pro_model_item {
ProMdl owner;
int id;
protype type;
)ProCable;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
• | cbl_feat—Specify the cable for which the ProCurves is returned using the object ProCable. |
• | inc_bundle—Returns the ProCurve function for the bundles through which the cable is passed using the ProBoolean object. |
! Enter or modify parameters for the connector. You may use the help
! functionality of Pro/TABLE to enter pre-defined parameters.
! Ref DescrREF_DES MOTOR
! Conn ModelMODEL_NAME MOTOR
! Num Of PinsNUM_OF_PINS 2
! TypeTYPE CONNECTOR
! Entry Port
! TYPE INT_LENGTH
ENTRY_PORT ENTRY1 ROUND 0.2
ENTRY_PORT ENTRY2 ROUND 0.2 !
Signal!
PIN_ID SIGNAL_NAME SIGNAL_VALUE ENTRY_PORT
SIGNAL 1 ENTRY1
SIGNAL 2
! Pin
! PIN_ID CABLE_NAME COND_ID
PIN_ASSIGN 2 WIRE_1
PIN_ASSIGN 1 WIRE_2
! Enter or modify parameters for the connector. You may use the help
! functionality of Pro/TABLE to enter pre-defined parameters.
! Ref Descr REF_DES MOTOR
! Conn Model MODEL_NAME MOTOR
! Num Of Pins NUM_OF_PINS 2
! Type TYPE CONNECTOR
! Entry Port
! TYPE INT_LENGTH
ENTRY_PORT ENTRY1 ROUND 0.2
ENTRY_PORT ENTRY2 ROUND 0.2
! Signal
! PIN_ID SIGNAL_NAME SIGNAL_VALUE ENTRY_PORT
SIGNAL 1 ENTRY1
SIGNAL 2
! Pin
! PIN_ID CABLE_NAME COND_ID
PIN_ASSIGN 2 WIRE_1
PIN_ASSIGN 1 WIRE_2
• | arg1—Represents the memb_id_tab |
• | arg2—Represents the memb_num |
• | p_connector—Specifies the component path that identifies the part in the cabling assembly. |
• | name—Specifies the reference descriptor (REF_DES) of the connector. The argument can be NULL when the designation is not from a logical reference. |
• | from_logical—Specifies if the component must be designated using logical references. |
|
|
|
|
|
|
|
|
|
• | p_assem—Input assembly specified using the object ProAssembly. |
• | filename—Full path to the input file name including the extension |
• | layer_names—Pointer to the array of layer names in the file and is specified using the class ProName. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
• | cable—Specify the input cable on which the tessellation is to be created. |
• | input_data—Specify the input data used for the tessellation such as AngleControl, ChordHeight, StepSize and so on. You can choose the options to use when generating a tessellation for the input cable. |
! Enter or modify parameters for the cable.
! You can use the help functionality of Pro/TABLE
! to enter pre-defined parameters.
! Cable Name
NAME WIRE_2
! Spool Name
SPOOL 24Y
! Modify the "DIRECTION" parameter for the end type of this cable.
! REF_DES ENTRY_PORT DIRECTION
END_TYPE MOTOR ENTRY1 FROM
END_TYPE XCONN2 ENTRY1 TO
• | A wire—A single conductor |
• | A cable—With several conductors |
• | A bundle—A collection of other wires, cables, and bundles |
|
|
|
|
|
|
|
|
|
|
|
|
• | p_offset—Distance of the cosmetic feature from the start or end of a segment. |
• | p_start—Boolean value which indicates if the distance is measured from the start position of a segment. |
|
|
|
|
|
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
|
|
|
|
|
|
• | Part |
• | Surface |
• | Cable |
• | Cable location |
|
|
|
|
|
1. | Call ProCableRoutingStart() to identify the cables to be routed. |
2. | Call ProCablelocationrefAlloc() to create a routing reference location structure. |
3. | Call ProCableThruLocationRoute() for each location through which to route the cables. |
4. | Call ProCablelocationrefFree() to free the location reference. |
5. | Call ProCableRoutingEnd() to complete the routing. |
6. | Call ProSolidRegenerate() to make Creo Parametric calculate the resulting cable geometry and create the necessary cable features. Note
You must also call the function ProWindowRepaint() to see the new cables.
|
type
|
refs
|
axis_flip
|
offsets
|
---|---|---|---|
PROLOC_CONNECTOR
|
The coordinate system datum for the entry port
|
—
|
—
|
PROLOC_POINT
|
The datum point
|
—
|
—
|
PROLOC_AXIS
|
The axis
|
0 or 1 to show the routing direction
|
-—
|
PROLOC_OFFSET
|
The coordinate system datum to define the offset directions
|
—
|
Offset distances from the previous location
|
PROLOC_LOC
|
An existing routing location
|
—
|
—
|