RS Wish: additional argument in Rhino.AllObjects

Hi @dale,

It would be helpful to get an option for Rhino.AllObjects() to also return objects that are parts of block definitions in the document (to be included as an additional argument).

Unless it is already possible somehow, would be great if this could be added to the heap.

thanks,

–jarek

Hi @Jarek,

You can use Rhino.BlockObjects to return the identifiers of the objects that make up a block definition. Does this help?

– Dale

Hi Dale, yes, I am aware of it and using it for a workaround to scan all block names, gather their list of objects, join into one list and combine with Rhino.AllObjects. I was hoping it could be faster/cleaner to access ALL of document objects with one function, hence this request.

thanks,

–jarek

Hi @Jarek,

I doubt an additional option would make this significantly faster. And since you can already do what you want with a simple custom function, I don’t’ see any reason to modify the RhinoScript method.

– Dale

Fair enough, if no speed gain would come from it I can live with the current long way of getting all of that info.

–jarek