Edit CAM operation settings by script (Change Curve selection sequence)?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi there,
Is it possible the Edit CAM operation settings by script? or Change Curve selection sequence and direction in operation settings?
I saw there are only a few examples in CAM API , but only to the setup and operation items.
Please see the pictures below, when setting the multi-axis contour--Geometry--curve selection, if I select one by one,
and change direction if needed, the route will be good, but if there are hundreds of lines, it's waste of time.
And if i select the sketch to get the route in the sketch, it is a bad route like what we found in the picture.
there was even a big mistake in the left down corner of the second picture, upper the rectangle.
So I want to change the route when setting operations using scripts and some algorithm, I hope the route in yellow as less as possible.
is it possible to do it using the API we have now?
Thanks very much!
Terry