Does anyone know how I can set the display style for the whole model using the solidworks API (mimicking the behavior of the graphics toolbar button) ? IModelDoc2.Extension.RunCommand((int)swCommands_e.swCommands_Comp_Display_Wireframe) seems to affect on

Does anyone know how I can change the display style of the whole model using the Solidworks API, mimicking the behavior of the graphics toolbar button ?

IModelDoc2.Extension.RunCommand((int)swCommands_e.swCommands_Comp_Display_Wireframe) seems to affect only selected components. Thanks in advance ...

SolidworksApi macros