Rhinocommon filter specific objects

In RhinoCommon, how to I set up a prompt for object selection that’s restricted to a certain list of objects?

Thanks,
James

@JimCarruthers,

i am asuming you´re still working with RhinoCommon from within Python. If this is the case check out the GetObjects() rhinoscript syntax from here, it allows to pass a custom object list in the object argument.

Alternatively, if you want to have less code, why not use rhinoscriptsyntax >>> rs.GetObjects() ?

c.