For that, yeah its the AE template. You have to use the suppress flag in your file:
editorTemplate -suppress "yourAttributeName"; J. On Tuesday, June 30, 2015 at 7:11:27 PM UTC+2, Emre Tekinalp wrote: > > Hello Janos, > > I would like to hide it in the attribute editor. > I got a hint yesterday to make it happen in the AE template file. > It will be eventually a bit tricky but I will check it out. > > Once figured out, I will post the solution. > > Thanks > Emre > > > Am Dienstag, 30. Juni 2015 08:50:02 UTC-7 schrieb Janos Hunyadi: >> >> Mmm. Where, in the attribute editor, or the node editor? >> J >> >> On Saturday, June 27, 2015 at 2:36:07 AM UTC+2, Emre Tekinalp wrote: >>> >>> Hello guys, >>> >>> I do have a quite simple question. >>> How am I able to hide a child attribute of an array attribute via Maya >>> API? >>> >>> Setup: >>> I have created an input array compound attribute (setArray(true) c++). >>> Inside this input you have one numeric attribute and two matrix >>> attributes. >>> I don't want to see the matrix attributes, just the numeric one. >>> >>> When using the command setHidden(true) on each child matrix attribute, >>> it is still visible. I searched the google groups but couldn't find any >>> results. >>> >>> I can provide code if needed. >>> Thanks in advance! >>> >>> Cheerio >>> Emre >>> >> -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/11bd7292-02f6-4ad5-8481-8b37769378bf%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
