DrawingView orientation VBA (turn 90 dgr)

DrawingView orientation VBA (turn 90 dgr)

Anonymous
Not applicable
366 Views
2 Replies
Message 1 of 3

DrawingView orientation VBA (turn 90 dgr)

Anonymous
Not applicable

Hello,
I am useing VBA to create automated drawings. Now I have new parts and they have to be rotated if length changes.
But I can not find the code for it, if available?!

I want to turn the view like in the screenshots

view_normal.pngview_rotated.png

0 Likes
Accepted solutions (1)
367 Views
2 Replies
Replies (2)
Message 2 of 3

t_hascj
Autodesk
Autodesk
Accepted solution

Hi Zierath_CAD,

You can rotate view by code:

yourView.Rotation = - 1.57079



Thanks,
Jaroslav

Message 3 of 3

Anonymous
Not applicable

Thank you. Code worked and view rotates now if profil is larger then XXX mm. 🙂

0 Likes