Hi Simone, As far as I know, you are supposed to treat the custom node as an interface and not think about the underlying Python instance, which acts as a delegate for satisfying interface functions. That is, if you create a Node that was defined by a scripted plugin, you shouldn't expect to be able to access the real underlying python instance, externally to that class. Can your attributes be stored as proper Node attributes? What kind of attributes are you trying to expose?
Justin On Tue, Apr 5, 2016 at 10:14 PM Simone Tartaglia <[email protected]> wrote: > Hello everyone, I've tried to google around but I couldn't find the answer > to what seems a really stupid question. > I've got a custom maya plug-in node that I've scripted in python. > In the python plug-in module, I've defined some python attributes in the > __init__ and postConstructor method, which I'd like to get after the maya > node has been created. > I can't find a way to get the python underlying instance of my custom maya > node. > > I hope someone can shed a bit of light on my issue! > > hugs. > > -- > 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/ad703fdc-50bb-4a7d-882a-ba44a9030ce7%40googlegroups.com > <https://groups.google.com/d/msgid/python_inside_maya/ad703fdc-50bb-4a7d-882a-ba44a9030ce7%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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/CAPGFgA3HXV%3DJAaU%3DbqQVN%3DgZYQ%3DzVJh3XFG13bGWWVDbsS8ZPQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
