Message 1 of 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I thought this little trick would change my focal length (in Model environment) so that the angle of view becomes 90 degrees (I swear I had this working many months ago), but luck escapes me today when I fire the one liner (here formatted for clarity) into the TEXT COMMANDS window:
app = adsk.core.Application.get();
view = app.activeViewport;
camera = view.camera;
camera.perspectiveAngle = 3.14/180 * 90;
view.camera = camera
Nothing happens. Also, the value app.activeViewport.camera doesn't change but remains at .about 0.39 radians. Am I missing something?
thx
Solved! Go to Solution.