Universal Robots TypeScript API - v10.12.0
    Preparing search index...

    Interface AddBlockChildNode

    Describes information required to add a node to the root of a program block

    interface AddBlockChildNode {
        block: BlockEnum;
        changeSelection?: boolean;
        insertionRelativeToBlock: INTO_FIRST | INTO_LAST;
        node: Readonly<ProgramNode | BranchNode>;
    }
    Index

    Properties

    block: BlockEnum

    Where to insert. Either the main program or the before start

    changeSelection?: boolean

    Whether to change the selected node after the add. If true or undefined, the selection will be changed to the newly added node, if false the selection will remain unchanged

    insertionRelativeToBlock: INTO_FIRST | INTO_LAST

    Which position to insert. Either first or last

    node: Readonly<ProgramNode | BranchNode>

    The node to insert