Documentación de la API > Cabling > Object ProSpool > Function ProSpoolCreate
Function ProSpoolCreate
Description
Creates new spool.
Synopsis
#include <ProCabling.h>
ProSpoolCreate
(
/* (In)
The handle of spools assembly owner.
*/
ProName w_name
/* (In)
The spool name.
*/
ProCableType cable_type
/* (In)
The type of created spool.
*/
ProBundleType sheath_type
/* (In)
The type of bundle.
*/
ProSpool* p_spool
/* (Out)
The handle of created spool.
*/
)
Returns
The function successfully creates new spool.
One or more of the arguments was invalid.
A spool with this name already exists. (Note: in this case p_spool will contain the spool information; this is an exception to the rule that all information in output arguments is unreliable if a function returns anything other than PRO_TK_NO_ERROR.)
Other error.
Sample Code References
User Guide References
¿Fue esto útil?