THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/06/2006 at 07:34, xxxxxxxx wrote:
Cinema 4D Version: 9.6
Platform: Windows ;
I would like to change the render resolution through an input in my PostEffect Plugin, but GetActiveDocument()->GetActiveRenderData()->GetData()->SetLong(RDATA_XRES,value) doesn't change the resolution.
An idea for me ?
Thanks in advance,
On 02/06/2006 at 16:01, xxxxxxxx wrote:
You have to set RDATA_RESOLUTION to 0 (manual), or to one of the other values if you want to pick a preset resolution.
On 09/06/2006 at 02:20, xxxxxxxx wrote:
I'm doing that in the method GetDParameter of my plugin, I call like that:
but it doesn't work too. Should I do that somewhere else ?
Thanks lot !
On 12/06/2006 at 12:42, xxxxxxxx wrote:
Oh, looks like you're in C++ - I haven't played with this there. Sorry.
This COFFEE works for me, if that helps:
var rd = doc->GetFirstRenderData();
var bc = rd->GetContainer();
On 15/06/2006 at 22:50, xxxxxxxx wrote:
To make the call like that you would have to do GetActiveDocument()->GetActiveRenderData()->GetData Instance ()->SetLong(RDATA_XRES,value), otherwise the changes are lost.