Just a general question.
Is swApp.RunCommand swCommands_Collapseallitems_Tree, "", the best way to collapse the assembly tree?
I usually don't use the RunCommand but it works.
Just a general question.
Is swApp.RunCommand swCommands_Collapseallitems_Tree, "", the best way to collapse the assembly tree?
I usually don't use the RunCommand but it works.
Are you looking to definitely do this with a macro? If not, pressing the "*" key on the numpad expands the feature tree. Pressing "Shift+C" collapses the feature tree.
Otherwise, your method should be okay but I honestly don't know if there's a better way to do it.