Set object opacity from remote API?

Typically: "How do I... ", "How can I... " questions
Post Reply
tdewolf
Posts: 11
Joined: 14 Apr 2016, 22:56

Set object opacity from remote API?

Post by tdewolf » 22 Sep 2017, 16:24

Hello,

I'd like to be able to set an object's opacity through the Python remote API. I was looking through the list of parameters that you can set but didn't see the option in the main API or through the SetObjectFloatParameter options list here: http://www.coppeliarobotics.com/helpFil ... terIDs.htm
Is it possible to do this and I missed it?

Thanks,

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

Re: Set object opacity from remote API?

Post by coppelia » 26 Sep 2017, 12:37

Hello,

not all regular API functions are available via the remote API. For all the functions that are missing, you can call simxCallScriptFunction, and handle the functionality inside of a script function.
See also here.

Cheers

Post Reply