1
$\begingroup$

I have created a node group 'test_group' using Python and now I want to resize my the node as it has much less width than I want that it to have.

Can anyone tell me how to do that using a Python script?

$\endgroup$

1 Answer 1

4
$\begingroup$

According to the API, there is Node.height as well as Node.width. Assign whatever float you like:

Type: float in [-inf, inf], default 0.0

API link: https://docs.blender.org/api/current/bpy.types.Node.html

$\endgroup$

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.