Skip to main content

Insert Block

Insert a block using a flow

Written by Holly Conrad Smith

Use this when you want to place a block at a specific location within a flow, for example distributing a repeated building module or landscape component across a set of points.

Inputs

Name

Abbreviation

Type

Access

Description

BlockId

B

String

Item

The block to insert

Position

P

Vector

Item

The position to insert the block at

Rotation

R

Number

Item

The rotation of the block (optional)

Scale

S

Number

Item

The scale of the block (optional)

Mirror

M

Boolean

Item

Whether to mirror the block (optional)

Properties

P

Object

Item

Additional properties to add to the block (optional)

Inherit Force Properties

I

Boolean

Item

Whether to inherit forced properties from the parent of the flow (optional, default true)

Outputs

Name

Abbreviation

Type

Access

Description

Block

B

Cartesian

Item

The inserted block feature

How to

  1. You must have at least one block definition in your current project. The flow will reference the ID of the block definition.

  2. Input the Block ID into the B input

    You can copy the id string from the block manager input using a string or typing directly into the node, or

    You can insert the Block ID using the "Get Block ID" node

  3. Input the block location using a vector point

    You can type the vector coordinates directly into the node, OR

    Feed in a vector point from another node, like centroid or pole of inaccessibility

  4. Set the Block rotation

  5. Set the block scale

  6. Toggle "mirror" or no

  7. Input additional properties to the block if desired, using an object or panel

  8. Leave "inherit force properties" on to also apply forced properties from the flow's parent. Turn it off to apply only the properties you provide.

Example

In this example, a single family modern home is placed on parcels created using the subdivision algorithm.

Did this answer your question?