On 03/03/2016 at 04:47, xxxxxxxx wrote:
I was wondering if it is possible to get the size & position of the interactive render region (when it is active of course). The SDK doesn't help me here...
On 04/03/2016 at 01:34, xxxxxxxx wrote:
the size of the IRR is stored in an internal BaseContainer inside the BaseView's data. It is internal data that is not really meant to be accessed by third parties so its definition may change at any time.
# get BaseDraw
bd = doc.GetActiveBaseDraw()
if bd is None:
# get size in pixels
size = bd.GetFrame()
# get data
bc = bd.GetDataInstance()
if bc is None:
# get subcontainer
subcontainer = bc.GetContainer(430000020)
for info in subcontainer:
On 11/03/2016 at 08:13, xxxxxxxx wrote:
was your question answered?
On 29/03/2016 at 08:01, xxxxxxxx wrote:
Yes, thank you very much! Now I'm figuring out how I can translate this to the document render region since this is a percentage of the editorregion and has of course nothing yet to do with the aspect ratio of the rendered result. But I guess that's going to be a piece of cake.