Category Cabling, Object ProCable

Function ProCableCosmeticFeatureCreate


Description
Create a cabling cosmetic feature (a tape, marker, or tie wrap).
Synopsis
#include <ProCabling.h>
ProErrorProCableCosmeticFeatureCreate(
ProCableCosmeticType type
/* (In)
The type of cabling cosmetic feature to create
*/
ProSelection reference
/* (In)
The selected cable location or cable segment point to use for the feature creation. If creating a tape feature this must contain a cable location. If creating a marker, this must contain a point on a cable segment. If creating a tie wrap, this could be a cable location or a point on a cable segment.
*/
ProName feature_name
/* (In)
The name of the cosmetic feature, can not be NULL.
*/
ProName spool_name
/* (In)
The name of the spool to be used for tape feature. NULL for tie wrapper and marker.
*/
ProFeature* cosm_feature
/* (Out)
The new cosmetic feature.
*/
)
Returns
PRO_TK_NO_ERRORThe function created the cosmetic feature.
PRO_TK_BAD_INPUTSOne or more of the arguments was invalid.
PRO_TK_INVALID_TYPEThe type of the reference selection is not valid for the type of cosmetic feature to be created.
PRO_TK_E_FOUNDA feature with the same name already exists in the model.

Manual References:

  1. Production Applications: Cabling: Cable Cosmetic Features
  2. Production Applications: Cabling: Cable Cosmetic Features