Sweep not updating after adjusting path on sketch.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a script that updates a sketch curve that is referenced by a sweep.
Maybe it's faulty expectations, but I assumed the downstream body would simply adjust when the sketch changed. That's what happens when I edit it by hand. I looked around for a "recalculate" in the API with no luck.
I've tried it both with and without the timeline on. Behavior is worse with the timeline, not actually doing anything and crashing with a notice that "timeline not rolled back" or somesuch, which I couldn't find documented in core.py or fusion.py. Also replacing the sweep path with freshly created curve on the same sketch throws mysterious errors of the gist "_set_path failed", which while descriptive, doesn't help much. It appears to be out of the aliasing facility of occurrences referencing component properties.
I can post all my code and let you fix it, but I'd rather just do it myself after finding out the right way to do this:
- adjust a sweep path via API
- sweep actually moves
- function whether timeline is on or off
I can post a screen shot of the path curve in a different place than the sweep if you think it's a bug, but I think I just don't know the intended workflow.