THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 31/07/2012 at 19:11, xxxxxxxx wrote:
The topic was up a short while ago.
https://plugincafe.maxon.net/topic/6478/6965_deschide-and-desceditable
An example:
# Testing gray out controllers
def GetDEnabling(self, node, id, t_data, flags, itemdesc) :
if (id[0].id == c4d.PC_SPLINE_MIN ) :
return node[c4d.PC_MAKESPLINE] == 1
if (id[0].id == c4d.PC_SPLINE_MAX ) :
return node[c4d.PC_MAKESPLINE] == 1
return True
From a user point of view, make sure you're not greying out
parameters that a user may to edit prior to engage.
For example if gigantic calculation is included, it
may be that the user wants to lower a value before engaging it.
Just a thought..
Cheers
Lennart