Community
Fusion API and Scripts
Got a new add-in to share? Need something specialized to be scripted? Ask questions or share what you’ve discovered with the community.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get defaultModelingOrientation

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
tykapl.breuil
145 Views, 3 Replies

Get defaultModelingOrientation

Hello everyone,

 

Does anyone know of a way to get the default modeling orientation through the API ?

The only way I can see is using camera.viewOrientation but that changes the camera...

 

EDIT : After more search I realized that what I actually would need is a way to access the 'home' and 'front' view of the viewcube without having to update the camera. It would be nice if the viewcube was better integrated to the api (ability to automatically set the front view for exemple).

 

Thank you

3 REPLIES 3
Message 2 of 4
kandennti
in reply to: tykapl.breuil

Message 3 of 4
tykapl.breuil
in reply to: kandennti

This only gets the preference set for the user, not the actual orientation of the model sadly 😞

Message 4 of 4
BrianEkins
in reply to: tykapl.breuil

Exposing the view cube capability has been on the API to-do list for a long time.  The need for it doesn't come up very often but when you need it, there aren't other options.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report