Dear All,
We need an API (in C#) to retrieve the component's current display mode (Wireframe, Hidden Lines, Shaded, etc.). The equivalent operation in application's UI is illustrated below.
We are able to Set the component's display mode through "SolidWorks command" like this:
IModelDoc2.Extension.RunCommand( swCommands_Comp_Display_Wireframe , "");
But the problem is that we cannot find a way to simply Get the display mode through an API programmatically. We searched the Knowledge Base, and found an item as illustrated below:
From its description, this item seems to be related to what we want. Are there any such API exist? We are using SolidWorks 2014.
we would really appreciate it if any helps/information are kindly provided.
SolidworksApi macros