A Drawing View can be created from a 'saved view' in the model in perspective mode. The limitation with this is the perspective is applied to the drawing view but the saved view orientation is not.
To overcome this limitation, I wrote a macro that applies a perspective to a drawing view with a specified focal length.
Solved! Go to Solution.
Thanks for this wunderful macro.. tried to download it from your page, but it is not listed there yet.
Could you publish it on that page?
The download link is on the page mentioned in the post.
Look for the icon Download icon on the page.
The link leads to a page where the downwloads are listed alphabetically.
Go down to S:
The .PIZ needs to be renamed to .ZIP and the .EX_ file therein be renamed to .EXE
Thank you for the follow up.
I noticed the file was flagged as abusive and Google had perhaps blocked it for viewing for safe browsing:
Is the new SetViewPerspective.piz file visible and can you also download it ?
Many thanks again.
Fantastic - How on earth does that work ?
Just one thing though - how do I remove the perspective from the view ?
Hi Jan, The DrawingView object has a SetPerspectiveOn method which takes the focal length as an argument.
There's another SetPerspectiveOff method available which however will need another macro to be called. I haven't written this macro yet.
As a workaround, set the focal length to a high value like 300 which will give an almost orthographic/isometric view.
Couldn't you just add another button "Perspective OFF" to the form and have that call the SetPerspectiveOff method?
or if the user enters a value of 0 it could do the same.
When you have time of course.