On 31/03/2015 at 01:54, xxxxxxxx wrote:
Originally posted by xxxxxxxx
Hi,
GetDEnabling() has to be implemented in an ObjectData plugin to enable/disable user data of the object. It cannot be used to enable/disable user data on other objects.
Link: https://plugincafe.maxon.net/topic/8473/11060_disenable-userdata&KW=GetDEnabling&PID=43563#43563
But perhaps I am wrong, because he talks about user data.
I have a tag plugin with a res file defining ui fields.
For example I have a field: tag[AREA_SHOWINSPECULAR]
How to enable/disable this field using GetDEnabling()?
I know that the res file is loaded with RegisterTagPlugin(), but if I use a second res file (like Niklas suggested), I would need a way to load that second res file.
Of course I can also check the version before I do a RegisterTagPlugin() and that way load different res files.
-Pim