- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
@YuhanZhang wrote:
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?
exactly right!
The first method is something I also thought of but is counterintuitive and so, I would only use it if there was no other option.
@YuhanZhang wrote: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.
The second is very promising and I will test it right now
The third is something I tried but I couldn't see the rotation I was hoping. In fact There was no rotation. Obviously I did something wrong. What I did, was to create a Matrix instance and set its properties to the desired values and then, use that matrix to place the first part in to an empty assembly. But whatever I tried I was always getting the same result....