Script for HotNcold ?

Post Reply
User avatar
hervé
Posts: 54
Joined: Mon Jul 05, 2010 8:30 am

Script for HotNcold ?

Post by hervé » Tue Nov 01, 2011 10:45 am

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/

User avatar
tsn
Posts: 283
Joined: Fri Jun 11, 2010 7:22 am

Re: Script for HotNcold ?

Post by tsn » Tue Nov 01, 2011 12:17 pm

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.
Thomas Schlick | Next Limit Technologies

User avatar
hervé
Posts: 54
Joined: Mon Jul 05, 2010 8:30 am

Re: Script for HotNcold ?

Post by hervé » Tue Nov 01, 2011 12:43 pm

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/

IoSim
Posts: 5
Joined: Thu Jun 10, 2010 8:23 am
Location: Denmark
Contact:

Re: Script for HotNcold ?

Post by IoSim » Wed Apr 11, 2012 12:29 pm

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
Ole Lemming
www.iosim.dk

User avatar
tsn
Posts: 283
Joined: Fri Jun 11, 2010 7:22 am

Re: Script for HotNcold ?

Post by tsn » Thu Apr 12, 2012 2:38 pm

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.
Thomas Schlick | Next Limit Technologies

Post Reply