using macros, how to loop through selected sub models?
I don't think we can loop through selected submodels but you can do a
For Each submodel in model.Submodels
and loop through all submodels.
If you're looking for selected objects within a submodel then you can do a
For Each selectedObject in submodel.SelectedObjects