Hello everyone
How to choose the objects with rs.Command ("_ SelGroup)
Thank you

Hi naruto.
This is RhinoPython example:

groupNames = rs.GroupNames()
if groupNames:
    pickedGroupName = rs.ListBox(groupNames, "pick up the group to select")
    if pickedGroupName:
        success = rs.Command ("_-SelGroup %s" % pickedGroupName)
        groupObjIds = rs.SelectedObjects()
        print groupObjIds

I think you could easily convert it to ghpython by switching the documents, in case that’s what you were looking for.

Thank you very much