- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
There is a user preference accessed by calling: app.preferences.generalPreferences.defaultModelingOrientation which is based on the value set in user preferences. (see screenshot)
If one opens a pre-existing document that was created using Z Up, for example, and this preference had been changed to Y Up, looking at app.preferences.generalPreferences.defaultModelingOrientation does not reflect how the current open document was built.
The question is: how would one determine what modeling orientation was used to create the document, Y up or Z Up? I did see that you can access a property called upVector (app.activeViewport.camera.upVector). Can this be used to determine whether Y Up or Z Up was used to create the document?
Thanks for the help.
Eric
Solved! Go to Solution.