Page tree
Skip to end of metadata
Go to start of metadata

Classes

Program Class

Description

The Element object of the program can be obtained with this.program. It has the following fields.

Available in: Controller, Processor.

Fields

.instanceThe Element object of the plug-in instance.Instance
.assignedSlotsAn array with the Element objects of the slots to which this program is assigned.table

Example

-- print the name of the plug-in instance
print(this.program.instance.name)

-- print the name of the first slot to which the program is assigned
if this.program.assignedSlots[1] then
	print(this.program.assignedSlots[1].name)
end

Jump to Top

  • No labels