Hi,
I have to delete (remove) a target in the path of robotstudio with C#.
I’m now using the code below to remove the target in my workobject (wobj0), but how should I delete this target in my path ?
// Instance active station.
Station stn = Project.ActiveProject as Station;
// Remove the original target.
stn.ActiveTask.Targets.Remove(myTarget);
Logger.AddMessage(new LogMessage(“My_Target_1 is removed!”));
MessageBox.Show(“target_1 is removed”);
