Help. Rhino Script Syntax in Python. "GetObject()" filters

Where can I find a comprehensive description on using GetObject() filter parameter?
As far as i understand rs.GetObject("", 4) will filter curves. What about other objects? Which number corresponds to which type of object?
Checked the help - nothing there.
Thank You

Found the description in help page under GetObjects()
https://developer.rhino3d.com/api/RhinoScriptSyntax/#collapse-GetObjects

1 Like

You can also use rs.filter.curve, rs.filter.surface etc. - as has been recommended by programmers here in other threads…

image

1 Like

You can also add filter values or rs.filter attributes together e.g. 8+1 for surfaces OR points

1 Like