I currently have an unordered list of curves. I need to identify a subset of the list of curves that are touching, end to end, within a tolerance. The functionality that I'm seeking already exists in the "Connected Curve" option of the Curve Collector's curve selection intent. In my case however, all the curves have already been acquired, so a selection is not desired.
I'm wondering if the code that NX uses to determine how to select a chain of connected curves is available to us. I have been thus far unsucessful with any journal recording attempts, and my search through the API has been not helpful.
Solved! Go to Solution.
If that link fails, please search the solution center for "nx_api639", and it should find the example.
This example works with an array of selected curves, but if you already have them you can just pass them into the sort_end_to_end() function.
No, sorry, we don't have that one in VB. But I think the UF calls are all available as wrappers, so hopefully it won't be too much trouble to translate the sorting logic.