Get Object Dimensions

What is the proper way to get the position and dimensions (left, top, width, height) of a read node, text node or other object? I can’t seem to find the proper way to do that in the documentation.

Go to the nodes info tab. You may find what you need there.

1 Like

I was looking more for Python code, but you have pointed me in the right direction! Thank you!

https://natron.readthedocs.io/en/rb-2.3/devel/PythonReference/NatronEngine/Effect.html#NatronEngine.NatronEngine.Effect.getRegionOfDefinition

https://natron.readthedocs.io/en/rb-2.3/devel/PythonReference/NatronEngine/Effect.html#NatronEngine.NatronEngine.Effect.getOutputFormat

1 Like

Thank you!

This may be a stupid question, but what is the view parameter in getRegionOfDefinition?

0 if you’re not doing stereo movies

1 Like