Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
YuhanZhang
in reply to: Anonymous

As you said "when creating drawings using topview the result is as if I used frontview",so seems you want to create a base view with model's "Top" orientation but you expect model's "Top" is not currently the model's top defined by the view cube, right? If so, you can choose one of below three methods:

 

1. To specify a different ViewOrientation value for AddBaseview which can make the view displays the model's "Top" as you expected, but the value maybe  kBackViewOrientation or  kBottomViewOrientation etc., but need you to check it first.

2. Use custom camera to specify the view orientation for AddBaseview. You need to input kArbitraryViewOrientation for the ViewOrientation argument, and then provide a value for the ArbitraryCamera argument which specify a custom model view orientation as you expected.

3. In the model you can rotate the model to be the orientation you think it should be "Top", and then call the View.SetCurrentAsTop and save the model document. Then in drawing you call the AddBaseview and specify the ViewOrientation argument the  kTopViewOrientation.

 

Hope above suggestions help.



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.