Documentação da API > Cabling > Object ProCable > Function ProCableAndConductorsCreate
Function ProCableAndConductorsCreate
Description
Creates new cable or wire in specified harness. The type of the cable corresponds to the spool type. It also creates conductors if needed. Required parameters will be created with default values, unless the cable name has been imported from a logical reference, in which case the parameters from the reference are used instead. after finishing the call, now reset the current model back to its status before the call
Synopsis
#include <ProCabling.h>
ProCableAndConductorsCreate
(
ProHarness harness
/* (In)
The handle of harness
*/
ProSpool* spool
/* (In)
The spool handle
*/
ProName cable_name
/* (In)
The cable name
*/
ProBoolean create_conductors
/* (In)
Create Conductors
*/
ProCable* p_cable
/* (Out)
The handle of new cable
*/
)
Returns
The function successfully created the new cable.
Model is in read-only state.
One or more of the arguments was invalid.
Cable already exists.
Spool does not exist yet.
Other error.
User Guide References
Isto foi útil?