Script to set front view of a surface
Script to set front view of a surface
(OP)
How to set a front or side view of selected part using vba in catia
what code or command has to be used
Any suggestions will be helpful
Regards
Barath
what code or command has to be used
Any suggestions will be helpful
Regards
Barath





RE: Script to set front view of a surface
CODE --> CATScript
Sub CATMain() Dim ActDoc As Document Set ActDoc = CATIA.ActiveDocument Dim camIsoView As Camera3D Set camIsoView = ActDoc.Cameras.Item("* iso") Dim objIsoViewPoint As Viewpoint3D Set objIsoViewPoint = camIsoView.Viewpoint3D Dim ActWin As Window Set ActWin = CATIA.ActiveWindow Dim ActViewer As Viewer3D Set ActViewer = ActWin.ActiveViewer ActViewer.Viewpoint3D = objIsoViewPoint End SubRegards
Fernando
https://picasaweb.google.com/102257836106335725208
https://picasaweb.google.com/103462806772634246699...
RE: Script to set front view of a surface
Hope this helps.
Regards.