Begin/End Grouping, or Group last N Objects as Macro Text

My macro is being authored automatically as copy-and-paste text by LabVIEW. And I’m hoping I’ll be able to group objects either by “begin” and “end” commands for grouping, or to tell Rhino to group the last N objects written. Is that possible? If so, an example please?

Not with a macro, but with a script it’s possible…

Okay, then how about this. Given that there is the SelAll function, might there be a way to select all objects which are not already groups? Then I could group just the singletons to the same end.

Yes, something like this:

_-SelGroup * Invert

1 Like