Cable Cosmetic Features
Functions Introduced:
The function
ProCableCosmeticFeatureCreate() creates a cabling cosmetic feature. The types of cabling cosmetic features are tie wraps, markers, and tape. 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 the cable segment. If creating a tie wrap, this could be a cable location or a point on a cable segment.
Use the function
ProCableCosmeticFeatureTypeGet() to retrieve the type of the specified cosmetic feature. The enumerated data type
ProCableCosmeticType is used to define the types of cosmetic features.
The function
ProCableCosmeticDistanceGet() retrieves the position of a cosmetic feature relative to the start or end of a cable segment. The output arguments are listed below:
• 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.
Use the function
ProCablelocationMaxDiameterGet() to retrieve the maximum diameter of the location for the specified harness.
Use the function
ProCablelocationHeightDimensionGet() to retrieve the height dimension for the specified cable location. The function returns the error
PRO_TK_BAD_CONTEXT if the specified location does not have a height dimension.
The functions
ProCableTapeWindsGet() and
ProCableTapeWindsSet() provide access to the number of winds in a tape cosmetic feature.
The function
ProCableTapeFeatSpoolGet() returns the spool for the specified tape feature.
Use the function
ProFeatureIsCableCosmetic() to check if the specified feature is a cabling cosmetic feature. Cabling cosmetic feature comprises of tie wraps, markers, and tape. For more information on cabling cosmetic feature, refer to the
Creo+ Help.
Use the function
ProCableCosmeticfeatureEntityGet() to get the entity for the cabling cosmetic feature. This function returns a line entity for the tie wrapper and tape types of cosmetic features, and spline entity is returned if the cosmetic feature is of the a marker type.
Use the function
ProCableCosmeticfeatureThicknessGet() to get the thickness of the specified input cable cosmetic feature.
Use the function
ProCableCosmeticfeatureReferencethicknessGet() to obtain the thickness of the reference cable which is wrapped by the input cable cosmetic feature.