RobotStudio event

Smart Componente cut two Bodies

Hello,
I have another good question! :)
If i cut two Bodies in a smartcomponent of the Robotstudio SDK- I use:
>Body[] cut = BodyMain.Cut2(BodyTool);<
and then add the result Body to an existing Part, the Body appears somewhere in space.

How or where do I have to edit the position of the Resultbody?
The question "Do you want to update the position" always comes up in Robotstudio if you move a Body from One Part to another. What happens in Robotstudio when you say "No update"? Thats the answer I need!

thx for every answer :*

Answers

  • If you answer "No update" then the body stays where it is position wise only the part it is part of is updated.