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?
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It only takes a minute to sign up.
Sign up to join this communityAccording 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