ModuleCreateRoutine Method (String, Boolean) |
Namespace: ABB.Robotics.Controllers.RapidDomain
public bool CreateRoutine( string routineName, bool bLocal )
using ABB.Robotics; using ABB.Robotics.Controllers; using ABB.Robotics.Controllers.RapidDomain; ... Controller c = new Controller(); Task[] allTasks = c.Rapid.GetTasks(); Task firstTask = allTasks[0]; Module mod = _task.GetModule("MyModule"); mod.CreateRoutine("Routine1", true); ...