THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/05/2005 at 02:03, xxxxxxxx wrote:
Cinema 4D Version: 9.1
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;
I have not many know how about Coffee.
I know that Coffee Plugin is another than Coffee Expression (in C4D Editor).
Coffee Expression is the easier way I think.
Is there a list for all commands for the Expression-Editor for Coffee?
In the SDK are alls commands, for Plugins too ?!?
Is it possible to change rendersettings with Expression in C4D-Editor?
(maybe with SetActiveRendrData, or directly with RenderData)
On 05/09/2005 at 08:27, xxxxxxxx wrote:
I also know little about C.O.F.F.E.E. But I believe Expressions and Plugins in C.O.F.F.E.E. share the same commands and style. Instead, it is worth noting that Expressions are usually applied to harness the behaviour of objects and other components of a scene, while plugins have the potentials to affect every aspect of the document and even control the entire Cinema4D application.
// Render settings may be applied with:
var doc = GetActiveDocument();
if (!doc) return 0;
var rd = doc->GetFirstRenderData();
if (!rd) return;
var bc = rd->GetContainer();
*/ You can put in your new render settings directly
using SetData(id,data) or InsertRenderData(rd,[prev]).
Yuo might also use SetData(id,data) to call your
RenderData class. SetActiveRenderData(rd) would
obviously make your render settings active.
Be reminded, I learn't programming by myself. I thus
give no guarantee of my programming knowledge. Try this while waiting for a reply from someone with more expertise.
Have Good Luck!
May Cinema 4D be with you!