Jump to content
herbieherb

Camera Vertical Tilt Correction

Recommended Posts

Use this python script to perform an automatet vertical tilt correction on the current view.

 

Or use it this way to correct the view of a viewport:

  1. Right click at the viewport.
  2. Edit camera
  3. Run the script
  4. exit edit mode

 

xAngleR, yAngleR, zAngleR, offsetPt = vs.GetView()
vs.SetView(-90, yAngleR, 0, offsetPt[0], offsetPt[1], offsetPt[2])

Don't forget to set the script-language to python in the script editor.

Edited by herbieherb
  • Like 1

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...