[Grasshopper] How to use Block Instance to set block instances

[Grasshopper] How to use Block Instance to set block instances Grasshopper component EN

This article explains how to use Block Instance to set block instances.

Block Instance1
Block Instance2

On the Grasshopper, it is represented by either of the two above.


↑Youtube Channel

Set block instance objects

Using Block Instance allows you to set block instance objects.

A block instance object is an object whose shape has already been defined.

Therefore, while you can change the position, rotate, or scale it, you cannot alter its shape.

In exchange, it has the characteristics of being very lightweight and displaying faster than regular objects.

Learn more about block instance objects here

Set block instance objects

Components used: ① Rectangle ② Surface ③ Model Block Definition ④ Model Block Instance ⑤ Block Instance

As an example this time, we will define and create a square surface as a block instance object.

Then, let’s try setting the created block instance object in the Block Instance.

線の四角形

First, create a rectangular shape by entering the length of one side into the Rectangle(X and Y).

This time, since 100 was entered for both dimensions, a 100×100 square line has been created.

surface

After that, connect the Rectangle(R) to the Surface to convert it into a surface.

Model Block Definition

Next, connect the Surface to the Model Block Definition(O).

Additionally, enter any name for the Model Block Definition(N).

This time, we entered “Test”.

This defines a square surface as a block named Test.

a block instance object is created

Then, connect the Model Block Definition(Bd) on the right side to the left side of the Model Block Instance(Bd).

Then, a block instance object is created.

it displays as a Block Instance

Visually, it doesn’t look much different from when it was a Surface, but when you connect Panels, you can see that it displays as a Block Instance, indicating it has been converted.

Finally, connect the Model Block Instance(Bi) to the Block Instance.

Then, the created block instance object was set in the Block Instance.

In this way, you can set block instance objects in Block Instance.

Directly set block instance objects on the Rhino

You can also set block instance objects directly on Rhino.

BlockManager

Let’s create a block instance object on Rhino.

First, prepare any model.

Then, enter “BlockManager” in the command.

Then, a window called Block Definition will appear.

+ icon

Then, tap the + icon in the upper-left corner.

From Selected Objects

Click “From Selected Objects”.

Select any model

Select any model.

specify an arbitrary reference point

Additionally, specify an arbitrary reference point.

it was converted into a block instance object

Then, it was converted into a block instance object like this.

This completes the creation of a block instance object on Rhino.

Set one Block Instance

Then, let’s set it in the Block Instance on Grasshopper.

In one case, right-click the Block Instance and select “Set one Block Instance”.

the screen will switch to Rhino

Then, the screen will switch to Rhino as shown here.

Select the block instance object you want to set.

it was set

Then, it was set in the Block Instance like this.

the result on Rhino

This is the result on Rhino.

Set Multiple Block Instances

For multiple instances, right-click the Block Instance and select “Set Multiple Block Instances”.

select multiple block instance objects on Rhino

Then, select multiple block instance objects on Rhino.

it set multiple block instance objects

Then, it set multiple block instance objects like this.

the result on Rhino

This is the result on Rhino.

List of Grasshopper articles using Block Instance component↓

Comment

Translate »