Skip to main content

GUI_VectorBlocksLoaded

Connection callback called when a file containing vector blocks is loaded. GUI_VectorBlocks is called when there is a change in vector block states. GUI_VectorBlocksLoaded is called only once on the initial file load, whereas GUI_VectorBlocks is 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.
blockobject {
index: number; // index of block
name: string; // name of block
state: Boolean; // display on/off
}