Update Parameter Values [SOLVED]

On 26/08/2015 at 00:13, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   R16 
Platform:   Windows  ;   
Language(s) :     C++  ;

Greetings !

I have created a Tag Plugin and added a button that is supposed to reset the description parameters to their initial values. It doesn't work though. The button is handled in Message in MSG_DESCRIPTION_COMMAND.
Do i have to add any update method other that setParameter ?
I tried to find any similar example but i couldn't. Is there any ?

Thank you for your time.

On 26/08/2015 at 01:35, xxxxxxxx wrote:


could you share some code showing how exactly you are trying to reset the parameters?

Best wishes,

On 26/08/2015 at 07:26, xxxxxxxx wrote:

Greetings !

I solved it using:
base_material->Update(TRUE, FALSE);

I dont know the difference though.
It seems it works with both of them.

Thank you for your time.

On 26/08/2015 at 08:07, xxxxxxxx wrote:


Shouldn't EventAdd() just be enough?


On 26/08/2015 at 13:33, xxxxxxxx wrote:


should always (most of the time) do the trick.