Page 1 of 1
Script for HotNcold ?
Posted: Tue Nov 01, 2011 10:45 am
by hervé
hello,
in the plugin HotNcold, there is no way to have a curve to modify a value during simulation... is there a way to do it with a script maybe...
don't shoot me, I know about nothing about scripts..
I would love to change a value over time.. like the Ambient Neighbour limit.. I 'd like to start a sim with a small value, then up that value..
Thank you
h/
Re: Script for HotNcold ?
Posted: Tue Nov 01, 2011 12:17 pm
by tsn
Hi,
To have access to a parameter via Python or C++ it must be part of RF's SDK. In the SDK you can find all these parameters together with a description of their data formats (vector, list, integer float ...) and how to use them. If the relevant value isn't part of the SDK it can't be modified via scripting. Since "HotNCold" is a plugin it's not part of RF's SDK and therefore you can't modify any values with Python/C++. The plugin creator would have to provide his very own SDK to grant access to the HotNCold parameters.
Re: Script for HotNcold ?
Posted: Tue Nov 01, 2011 12:43 pm
by hervé
hey...
ok, I understand, thanks a lot tsn for the explanation..
I am going to contact Ole to see if he can help me somehow...
h/
Re: Script for HotNcold ?
Posted: Wed Apr 11, 2012 12:29 pm
by IoSim
tsn wrote:Hi,
To have access to a parameter via Python or C++ it must be part of RF's SDK. In the SDK you can find all these parameters together with a description of their data formats (vector, list, integer float ...) and how to use them. If the relevant value isn't part of the SDK it can't be modified via scripting. Since "HotNCold" is a plugin it's not part of RF's SDK and therefore you can't modify any values with Python/C++. The plugin creator would have to provide his very own SDK to grant access to the HotNCold parameters.
Hi
It's been a while since my last visit.
It's not exactly true that you can't change a parameter in a plugin. You've always been able to do that with a script using get- and setParameter(parameterName, value)
And in RF2012 you can also do it from one plugin to another. I have a created a plugin for that purpose, so you can animate parameters in plugins, which is otherwise not possible.
-Cheers Ole
IoSim
Re: Script for HotNcold ?
Posted: Thu Apr 12, 2012 2:38 pm
by tsn
IoSim wrote:
It's not exactly true that you can't change a parameter in a plugin. You've always been able to do that with a script using get- and setParameter(parameterName, value)
Oh, that's cool. I didn't know that you can access even plugin params with the get/set commands. I thought 3rd-party tools aren't supported and therefore never tried this. Thanks for the tip.