VBA - Collapes Feature Tree

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.

SolidworksApi macros