GeCoffee
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 08/12/2003 at 08:20, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 8.207
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;---------
Is there an example showing the proper use of the GeCoffee functions?
Bool GeCoffeeExecute(Coffee* cof, VALUE* func, GeData* retval = NULL, GeData* arg1 = NULL, GeData* arg2 = NULL, GeData* arg3 = NULL)
VALUE *func: Is this in case there are multiple functions defined in the COFFEE source?
arg1 - arg3: If I can add inputs with GeCoffeeAddGlobalSymbol what use are these?
The docs say to use VALUE* GeCoffeeFindGlobalSymbol for the input into the execute function. What does this define? It seems to be a function input but I am still unclear how to utiize it.
Regards,
Thomas Cray
www.cidertank.com -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/12/2003 at 20:56, xxxxxxxx wrote:
It is now working with multiple symbols. I would still like to see how it is implemented 'correctly' from MAXON's persepctive.
Thomas -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 24/12/2003 at 03:05, xxxxxxxx wrote:
func - No, this is just the function that's called. You always have to pass a pointer to a function, retrieved with GeCoffeeFindGlobalSymbol().
arg1-arg3 - These are the functions argument. (GeCoffeeAddGlobalSymbol() adds global variables, not function arguments.)
I have no code examples at hand, I'm afraid, but if you have more questions feel free to ask.