MechanicalUnitWorkObjectName Property |
Gets or sets the active work object.
Namespace:
ABB.Robotics.Controllers.MotionDomain
Assembly:
ABB.Robotics.Controllers (in ABB.Robotics.Controllers.dll) Version: 6.5.129.0
Syntax public string WorkObjectName { get; set; }
Property Value
Type:
StringThe associated name of the work object.
Exceptions Remarks Only supported by mechanical unit type TCPRobot.
Examples This example sets the active work object to wobj0 for the active mechanical unit.
Controller c = new Controller();
MotionSystem motion = c.MotionSystem;
MechanicalUnit mech = motion.GetActiveMechanicalUnit();
try
{
mech.WorkObject = "wobj0";
}
catch (ArgumentException)
{
}
See Also