I'm making a plugin object with Priority options and have a couple of questions about PriorityData.
How can we hide the "Camera Dependent" option? I tried guessing the flag unsuccessfully. :/
Example objects without "Camera Dependent" option are the Hair object and the Skin deformer.
How can we set the default value for such a parameter? I tried using the following code in the Init function but didn't work:
basePriority = c4d.PriorityData() priority.SetPriorityValue(c4d.PRIORITYVALUE_MODE, c4d.CYCLE_EXPRESSION) priority.SetPriorityValue(c4d.PRIORITYVALUE_PRIORITY, 400) node[res.BASE_PRIORITY] = priority
Thanks for any assistance