Skip to main content

createSpacefromBlock

Creates a Rasterex space object from an existing vector block specified by blockid. Use pickPolygon to select a vector block to retrieve the blockid, or search for blocks using RxCore.findBlockByAttr().

Syntax

RxCore.createSpacefromBlock(blockid)

Parameters

  • blockid: number — Block index of the vector block.

Returns

  • NA — This method does not return a value.