Parameter Options and GetDEnabling [SOLVED]
-
On 01/08/2015 at 00:42, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R16
Platform: Windows ;
Language(s) : C++ ;---------
Greetings !What i want to do is to create parameters that "point" to other parameters.
I was wondering if there is an option that can do that.Example:
BOOL PARAMETER1 { }
REAL PARAMETER2 { UNIT PERCENT; MIN 0.0; MAX 100.0; POINTS_TO PARAMETER1; }That way i will be able to set the enable/disable state of PARAMETER2 in GetDEnabling depending on the state of PARAMETER1.
Relative to that, can i get these options in GetDEnabling ?If that's not the right way to do it, then how can i do it without having to create huge data structures.
Thank you for your time
-
On 01/08/2015 at 02:20, xxxxxxxx wrote:
In GetDEnabling(), you simply get the state of PARAMETER1 to set that of PARAMETER2:
// Enable/Disable editability switch (did) { // General case GREEBLER_LOWAREA: return bc->GetBool(GREEBLER_LOWAREA_USE); ...
-
On 03/08/2015 at 04:42, xxxxxxxx wrote:
Hi,
Robert is right (of course, I may add).
You were asking for a solution in the resource file. I just want to add, that this is not possible in a resource file. -
On 26/08/2015 at 10:00, xxxxxxxx wrote:
@peterakos: Is it working for you?
-
On 26/08/2015 at 13:27, xxxxxxxx wrote:
Yes it does.
Thank you very much for your time.