Grouping joints or setting dynamic properties through the api.

Typically: "How do I... ", "How can I... " questions
Post Reply
alexdupond
Posts: 6
Joined: 30 Oct 2019, 16:29

Grouping joints or setting dynamic properties through the api.

Post by alexdupond » 13 Feb 2020, 14:22

Hi

I have multiple joints and want to change their properties all at once. Can this be done through the API or is there somehow to group joints so they shares dynamic properties (such as maximum torque and velocity limits)?

Best regards
Alexander

coppelia
Site Admin
Posts: 7597
Joined: 14 Dec 2012, 00:25

Re: Grouping joints or setting dynamic properties through the api.

Post by coppelia » 13 Feb 2020, 14:59

Hello Alexander,

you can change almost all properties of joints via the API. You have 3 groups of APIs for doing this:
Then, using a customization script (or better, add-on script) and some custom UI, you can build that functionality. Note however that not all properties can be modified while simulation is running.

Cheers

alexdupond
Posts: 6
Joined: 30 Oct 2019, 16:29

Re: Grouping joints or setting dynamic properties through the api.

Post by alexdupond » 16 Feb 2020, 13:12

Thanks, that worked !

Best regards
Alexander

Post Reply