Message 1 of 2
How do I change isSmoothTransition for named view?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
1. Create named view called `view1`
Open python console and execute:
app = adsk.core.Application.get()
app.activeProduct.namedViews.itemByName("view1").camera.isSmoothTransition # -> True
cam = app.activeProduct.namedViews.itemByName("view1").camera
cam.isSmoothTransition = False
cam.isSmoothTransition # -> False
app.activeProduct.namedViews.itemByName("view1").camera = cam
app.activeProduct.namedViews.itemByName("view1").camera.isSmoothTransition # -> True (Still)