Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
A few weeks ago I found this handy script: https://forums.autodesk.com/t5/forums/forumtopicprintpage/board-id/22/message-id/15949/print-single-...
Sometimes it worked and sometimes it did not (or so it seemed to me). Today I talked to a guy with programming skills and we found out that the script only exports DXF sketches in active components. As my DXF are nested in components I would like to change this.
How can I change that? Is there something like "allComponents" instead of "activeComponent"?
design = adsk.fusion.Design.cast(app.activeProduct)
active_component = design.activeComponent
sketches = active_component.sketches
Thanks for all your hints. 🙂
Solved! Go to Solution.