Custom view scale in vba

Hello

I want to modify a scale view of the sheet to change it to custom scale in VBA code, and also changed the display style from "hidden lines deleted" to have "edges in shaded image mode", all in VBA with Excel please.

which will allow me to finish my project, thank you in advance.

Kind regards.

Hello

First, select a view:

http://help.solidworks.com/2012/English/api/sldworksapi/Select_Entity_in_Drawing_View_Example_VB.htm

 

 Then change the scale of it:

http://help.solidworks.com/2012/English/api/sldworksapi/Set_View_Scale_Example_VB.htm

 

To change the type of view type to "shaded image", we can use this macro:

https://forum.solidworks.com/servlet/JiveServlet/downloadBody/1507-102-5-1656/ChangeDrawingViewtoShaded.zip

 

Or see here:

https://forum.solidworks.com/thread/61785