ProtoTwin API
    Preparing search index...

    Class RobotProgram

    Exportable robot program.

    An exportable robot program consists of an ordered list of instructions to be executed in sequence.

    Implements

    Index

    Accessors

    • get name(): string

      The unique name that identifies the program.

      Returns string

    Methods

    • Attempts to add the specified instruction to the program.

      Parameters

      Returns boolean

      True if the instruction was added, flase otherwise.

    • Attempts to remove the specified instruction from the program.

      Parameters

      Returns boolean

      True if the instruction was removed, flase otherwise.