Select all block instances of same type (definition)?

What command accomplishes this?

Desired workflow:

  1. Select BlockInstance in viewport
  2. Enter command to have all instances of same type (block/definition) selected as well

Hi Robert - there is no such command. When you select an instance, you will see its name in the Properties panel. You can then run the SelBlockInstanceName and locate this name on the list.
I have filed RH-56445 for a wish for a new command to make this easier.
-wim

Hi Wim, Robert,
It does not work with preselection I think, but scripted version of -SelBlockInstanceName (with dash) should have an option to select blocks to match.

hth,

–jarek

@ejnaren created a plug-in that does this, along with some other useful features:

Please help me choose the stone size

Now in Rhino8, if you select any block and then use the command “SelBlockInstanceNamed” it will give you the list of all blocks but it will select the block that u selected first.

Hi -
In Rhino 8, the following macro selects all block instances of the same definition as the instance that is selected.

_-SelBlockInstanceNamed _SelectBlockToMatch

-wim

Thanks so much for this macro Wim! I’m seeing that -SelBlockInstanceNamed is different than SelBlockInstanceNamed. What does the dash before a command mean?

Hi Chris -

Running the “dash version” of a command lets you bypass dialog boxes. That’s typically used when you want to create macros that should run as automated as possible. See this page for tips on macros: Rhino scripting | Rhino 3-D modeling
-wim