On 22/12/2017 at 02:38, xxxxxxxx wrote:
Hello plugincafe!
I need to hide X-Ray checkbox of Generator Plugin.
The only way that I found is 'ghosting' and it works without any problems.
#Ghosting X-Ray Attribute
def GetDEnabling(self, node, id, t_data, flags, itemdesc) :
if id[0].id == c4d.ID_BASEOBJECT_XRAY: return False
But I want to completely hide it from attributes manager.
I tried to do this from description file but I'm not getting desired results.
1. CONTAINER Otestplugin
2. {
3. NAME Otestplugin;
4. INCLUDE Obase;
5. **HIDE ID_BASEOBJECT_XRAY;**
6. //Groups & Settings
Is there a way to do this directly from pyp file or from description file?
Cheers! :)
-Merk