Hey Marcus, That works perfectly exactly what I needed, I can do this with inputs and outputs also so that's great too, but I have to do it individually for inputs, is there a way for all inputs and outputs in one go I can hide them in channel box?
Thank you. D. On Tuesday, February 24, 2015 at 12:10:46 PM UTC+1, Marcus Ottosson wrote: > > The channel box respects the isHistoricallyInteresting > <http://help.autodesk.com/cloudhelp/2015/ENU/Maya-Tech-Docs/Nodes/node.html#attrisHistoricallyInteresting> > > attribute. > > # Hide from outliner > cmds.setAttr("myNode.isHistoricallyInteresting", 0) > > I can’t remember exactly what the various enums represent, but it’s > something along the lines of. > > 0: Interesting to no one > 1: Interesting to TDs > 2: Interesting to Artists > > And the UI then reflects this accordingly; i.e. not visualising them in > the channel box but still returning them as a result of listHistory etc. > > Best, > Marcus > > -- 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 python_inside_maya+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/d92c6c84-3d44-4883-b283-684a11856953%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.