Hi!
I select a MoveLJ instruction in a path, right-click on it and select “Modify position”.
Does it exist an event triggered by the action? I have not found any in the documentation.
Thank you!
Hi Sergej,
The static event ProjectObjectChanged will be raised with ChangeType = Transform. Note that the event is actually sent two times, one for the RsRobTarget and one for the RsTarget.
example:
...
ProjectObject.ProjectObjectChanged += new ProjectObjectChangedEventHandler(ProjectObject_ProjectObjectChanged);
...
void ProjectObject_ProjectObjectChanged(object sender, ProjectObjectChangedEventArgs e)
{
if (e.ChangeType == ProjectObjectChangeType.Transform)
{
if (e.ChangedObject is RsTarget)
{
...
}
}
}
regards,
Johannes
Hi Johannes!
Thank you very much, I will try it. Do you have some documents about all of the events in RS?
The current API documentation is not so complete.