I'm looking to show any parts or sub-assemblies which are hidden. Whilst I could write code to traverse the feature tree, I've noticed there is a solidworks feature which does this already. Specifically the menu option: Edit -> Show With Dependents -> Current Display State.
Is there a way to call this feature programatically? I've been looking in the documentation without success.
SolidworksApi macros