Hi, I am trying to create loads of pictures form EPDM , the problem is that some of the pictures are not visible due to users have saved and checked in models incorrectly with zoom/ ordination issue. I am trying to add script to the advance scripting option to help with picture zoom and orientation. However, its not working for me , would anyone know how to do it or is it even possible.
- swModel.ShowNamedView2 "*Isometric", -1
- swModel.ViewZoomtofit2
Thanks in advance
Thanks to our support service provider I have manged to get the answers to this. I hope this will be useful to some , it was to us.
The script to make sure picture is in ISO and zoom-to-fit is :-
'Fit Isometric View
Set MyPart = swApp.ActiveDoc
boolstatus = MyPart.SetUserPreferenceToggle(swUserPreferenceToggle_e.swDisplayPlanes, False)
MyPart.ShowNamedView2 "*Isometric", 7
MyPart.ViewDisplayHiddenremoved ( remove this line if you want it shaded)
MyPart.ViewZoomtofit2
and should be past into advance scripting option window here:-