0
$\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
$\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$

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.