Skip to main content

GUI_VectorBlocks

Connection callback called when there is a change in vector block states.

Additional Method

  • getHeight(): Return the height of the canvas.

Callback Parameters

  • vectorblocks: Array of vector block objects: The blocks of the CAD file.
blockobject {
index: number; // index of block
name: string; // name of block
state: Boolean; // display on/off
}

Example


RxCore.GUI_VectorBlocks.connect(function(vectorblocks){

console.log(vectorblocks);

});