Skip to main content

Insert Block

Insert a block using a flow

Written by Holly Conrad Smith
Updated over a month ago

Inputs:

Blockid: (string): The block to insert.

Position: (vector): The position to insert the block at.

Rotation: (number): The rotation of the block.

Scale: (number): The scale of the block.

Mirror: (boolean): Whether to mirror the block.

Properties: (object): Additional properties to add to the block.

Outputs:

Block: (cartesian): 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

Example

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

Did this answer your question?