Class RsActionInstruction
Represents a generic RAPID instruction.
Implements
Inherited Members
Namespace: ABB.Robotics.RobotStudio.Stations
Assembly: ABB.Robotics.RobotStudio.Stations.dll
Syntax
sistent("ActionInstructionCall")]
public sealed class RsActionInstruction : RsInstruction, ISupportCopy, IGfxObject
Remarks
The Name property corresponds to the name of the RAPID instruction and should not be changed.
Constructors
RsActionInstruction(RsTask, String, String)
Initializes a new instance of the RsActionInstruction class, which is based on the specified instruction description and template.
Declaration
public RsActionInstruction(RsTask task, string descriptionName, string instructionTemplateName)
Parameters
Type | Name | Description |
---|---|---|
RsTask | task | The task to create the Action instruction for |
String | descriptionName | The name of the instruction description, that specifies which kind of Action Instruction that shall be created. |
String | instructionTemplateName | The name of the instruction template to use. The template specifies default argument values for the instruction. |
Properties
Color
Gets or sets the color of RsActionInstructions that have a geometric representation, e.g. WZBoxDef.
Declaration
public Color Color { get; set; }
Property Value
Type | Description |
---|---|
Color |
FrameSize
Gets or sets the size of RsActionInstructions that have a graphical frame representation, e.g. SetBrush.
Declaration
public double FrameSize { get; set; }
Property Value
Type | Description |
---|---|
Double |
InstructionTemplateName
Gets the instruction template name.
Declaration
public string InstructionTemplateName { get; }
Property Value
Type | Description |
---|---|
String |
TrigValidity
Gets or sets the validity of an action instruction triggered by a condition, e.g. SetBrush.
Declaration
public TrigValidity TrigValidity { get; set; }
Property Value
Type | Description |
---|---|
TrigValidity |
Visible
Gets or sets if this RsActionInstruction should be visible in the graphics, if it has a graphical representation (e.g. SetBrush).
Declaration
public bool Visible { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
AfterLoad(PimDocument)
Declaration
protected override void AfterLoad(PimDocument doc)
Parameters
Type | Name | Description |
---|---|---|
RobotStudio.API.Persistence.PimDocument | doc |