Is there an exposed property for "Show Flat Tree View"? It looks like everything else in the Tree Display menu (e.g. Show Component Descriptions) can be accessed via swFeatMgr. But I don't see anything for flat tree view.
SolidworksApi/macros
Is there an exposed property for "Show Flat Tree View"? It looks like everything else in the Tree Display menu (e.g. Show Component Descriptions) can be accessed via swFeatMgr. But I don't see anything for flat tree view.
SolidworksApi/macros
Hello. Try this:
From post:
Yes it's a toggle. If you repeat it, it will revert back.
No, there is no version to put it in a given state.
Interesting. I’ll give it a shot. Since this API call is basically calling the GUI, which is a checkbox/toggle, does that mean the command is also a toggle? Ideally, I could either switch it specifically on or off. If it is just a toggle, is there a way to call a version that is stateful (is that a word or did I make it up)?
Mind blown! Can someone please explain to me how the above macro toggles the Flat Tree View and how I can can use it to do the same for:
- Show Comments Indicator
- Do not show Configurations/Display State Names if only one exists.