- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, when using the function below
cam.GenerateAllToolpaths(False)
I am getting an issue where all of the toolpaths regenerate, but some of them say that they are invalid.
I tried doing a loop and generating each operation one at a time but the same issue occurred, only worse.
cam:adsk.cam.CAM = app.activeDocument.products.itemByProductType('CAMProductType')
for operation in setup.operations:
cam.generateToolpath(operation)
If I do the generate all toolpaths manually by selecting them all and Ctrl+G, this does not happen and they all calculate correctly. Is this a bug? Is there a better way to make sure all of my toolpaths are recalculated?
Solved! Go to Solution.