Message 1 of 4

Not applicable
11-09-2018
02:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
The first python example on this page does not work (any more?):
app = adsk.core.Application.get() ui = app.userInterface design = adsk.fusion.Design(app.activeProduct) ### <<--- no constructor defined if not design: ui.messageBox('No active Fusion 360 design', 'No Design') return
The line in the middle should probably be
design = adsk.fusion.Design.cast(app.activeProduct)
Solved! Go to Solution.