GetObject(s)EX extension wish


Wonder if GetObjectEx and GetObjectsEx could get another optional Boolean argument after the optional ‘objects’ argument. The idea would be if the objects argument is not empty, to be able to specify whether the objects are to be considered “allowed to be selected” (current behavior), or “unable to be selected” (new behavior).

The current workaround is to get the set of NormalObjects, remove the IDs that you don’t want to be selectable from that set, then pass the rest to the ‘objects’ argument in GetObject(s)Ex. Would just be handy if we didn’t have to do that.

Thanks, --Mitch

(Dale Fugier) #2

In the mean time, you can certainly copy the rs.GetObjectEx source and modify it to do what you want.

– Dale