cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Provide Toolkit API for accessing Cable Curves

Provide Toolkit API for accessing Cable Curves

There is currently no direct Toolkit API for accessing the Curves associated with a Cable. Access to the Curves is needed in order to do geometric operations with Cables. For example, determining the arc length location of "Clamp" Models along a Cable. Cable Curves are associated with Cable Segments. One can get information about Cable Segments using the ProCablesegmenInfo objects obtained via ProCablesegmentInfosGet() . These objects let one obtain Cable Location IDs, Points and Tangents via ProCablesegmentInfoPointsGet(). There is a back-door way to get the Curves by examining the ProCurves in Cable Segment Features and comparing them against the obtained Points and Tangents. This process is convoluted and requires one to sometimes rearrange the ProCurves since they are not necessarily in the right order.

 

The idea is to create a new API that lets one obtain a properly-ordered list of ProCurve objects for a given ProCablesegmentInfo. The API would be something like "extern ProError ProCablesegmentInfoCurvesGet(ProCablesegmentInfo segment, ProCurve  **p_curves);"

1 Comment
Alex_Y
12-Amethyst
Status changed to: Acknowledged