Would it be possible to add an argument to ObjectsBy… methods that would take an array of given objects to process, instead of all file objects (similar to GetObjects method that allows to narrow down the selection to user-defined set).
Thanks, but that’s not what I am after - just to clarify: for the methods:
ObjectsByColor
ObjectsByGroup
ObjectsByLayer
ObjectsByMaterialIndex
ObjectsByMaterialSource
ObjectsByName
ObjectsByRegion (by the way - the Help file description needs update here: now is: Returns the identifiers of all objects based on the objects’ geometry type.)
ObjectsByType
ObjectsByURL
I’d like to have additional, optional argument - for example in ObjectsByType it would be:
Rhino.ObjectsByType (intType [, blnSelect [, intState],arrObjects]]])
arrObjects - Optional. Array. An array of strings identifying the objects that are used as input to process