--- Operating System, Graphics card ---
windows 7 64bit
--- Blender version with error, and version that worked ---
all tested belnder versions (2.68 ... 2.69RC1 ... blender-2.69-r60739-win64.zip)
--- Short description of error ---
issue: the height of nodes are always 100.0
--- Steps for others to reproduce the error (preferably based on attached .blend file) ---
1. open attached blend file
2. open console and run script.
3. you will see something like that:
Output: height=100.0; width=140.0
Material: height=100.0; width=140.0
Description
Event Timeline
This is intentional: the geometry of most node types is determined by their content. Only the frame nodes use both user-defined width and height, regular nodes only use the width setting while height is determined by the number of sockets, buttons and preview widget. The height value is meaningless for them, but i would rather not make it more complicated by returning the actual height or so.
If you want to get information about the actual node size you can use the "dimensions" property: this returns the actual width and height as shown in the node editor, taking into account the layout and min/max width, as well as distinction of expanded/collapsed state (which both have their own width setting ...)
i didn't notice that there is a dimension property is available... (my fault)
thats what i was looking for...
thank you very much.