The API docs for MPxNode should list a function that'll give you this. I
think it's just name(...) but double check in the docs.

On Tue, May 1, 2018 at 7:13 AM, miarmy <[email protected]> wrote:

> Hi.in the compute function of my nodr...i want know
>   What is my node name...and what is the node name which us connected to
> one attribute of my node.
> ...
> def compute(self, plug, data):
>    #get name:
>
> Please help!help!....python api 2.0...
>
> --
> 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/c5d30fe2-889a-41cf-b465-
> 6b9fe76dc834%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Where we have strong emotions, we're liable to fool ourselves - Carl Sagan

-- 
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/CADHeb2b3wrrq9WpB5zcsNGPN9v5TEqyECq21s2JTZ38%3D65NCvQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to