0
$\begingroup$

I am making a node tree based on custom_nodes.py (included in Python Template)

By using the bpy.types.Node.draw_button, I managed to draw a button on each nodes. However, I’m having trouble obtaining the nodes’s name for the operator.

So, How can I add a button to a node that returns the name of the node?

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.