No document update
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/07/2005 at 10:13, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.x
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C.O.F.F.E.E ;---------
I have the following code:... RENDER_DATA = doc->GetFirstRenderData(); RD=RENDER_DATA->GetContainer(); WIDTH_VAR=bc->GetFloat(WIDTH); HEIGHT_VAR=bc->GetFloat(HEIGHT); RD->SetData(RDATA_XRES,int(WIDTH_VAR)); RD->SetData(RDATA_YRES,int(HEIGHT_VAR)); RD->SetData(RDATA_XFILM,int(WIDTH_VAR)); RD->SetData(RDATA_YFILM,int(HEIGHT_VAR)); RENDER_DATA->SetContainer(RD); GeEventAdd(DOCUMENT_CHANGED); ...
But, even after execution, the Render Settings don't get updated. Why could this be?
Rui Batista
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/07/2005 at 13:06, xxxxxxxx wrote:
Hmm, not sure but try RENDER_DATA->Message(MSG_UPDATE);
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/07/2005 at 03:30, xxxxxxxx wrote:
Didn't work. But I managed to make it work anyway. Don't ask me how!!
Thank you Samir.Rui Batista
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/07/2005 at 05:06, xxxxxxxx wrote:
Ok, it stopped working!!!
I even tried to force the update by typing:RENDER_DATA->Message(MSG_UPDATE);
EventAdd();But nothing!!! The strange thing is that if I manualy change any number in the Resolution values (even just clicking the up arrow of the width and them pressing the down arrow to get the same value as before) and then I run the plug-in again, it works fine.
Weird!!!Rui Batista