I’m starting to write some meta node code at work. Anyone else here use meta node networks in Maya?
I’m trying to determine what types of methods to put in the meta node class. It will contain methods for traversing and editing the actual meta node network, but should it include methods for operating on that network (like pose mirroring, exporting, validation, etc) or should that functionality all live separated from the meta node classes?
This boils down to a more general python structure question. Is the meta node only aware of other meta nodes in its network and how to query/remove/add them? It would then be up to separate functions to actually use those networks for any operations.
Should they be separate functions? Or should I be subclassing the core class and adding those additional methods to the subclasses? This seems similar to what Mark has done with Red9, but I’m curious if all additional functionality gets added onto the subclasses or if a lot of the operations sit as functions that take a metanode as an argument?
This question is a bit rambling/train-of-thought, but I’m chasing ideas around my head so that’s how it’s comin’ out!
Thanks