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.

Not the answer you're looking for? Browse other questions tagged .