THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 26/01/2003 at 23:53, xxxxxxxx wrote:
Cinema 4D Version: 7
Platform: Windows ;
Language(s) : C.O.F.F.E.E ;
There are a couple of Question I have:
Can anything above be programmed in COFFEE?
Thanks in advance
On 27/01/2003 at 06:42, xxxxxxxx wrote:
> * Can I implement imagebuttons?
> * Can I make a tool button? (A button that works like the selection or move tool, that automaticly deactivates the previous tool-button)
I don't know if you can send inter-plugin messages in XL7. But you can create several plugins (in this case MENUPLUGINS) in one CDL-File and keep track of the current selection of your tool with a global status.
> * Can I implement the move/scale buttons like in the image viewer or the 3D View?
I don't know, but I dont't think that this is possible easily.
> * How can I check which tool (selecting, move, scale, rotate ...) is active? I get a message when the tool is changed, but I can't figure out how to extract the needed information...
If you have a MENUPLUGIN, your Execute() callback function will get a BaseDocument parameter, say "doc". You can check the current editor mode with doc->GetMode().
> * Where can I find out what the messages mean/is there a message documentation?
I asked this here some time ago:
In R8 the message handling has been simplified - see "Core Messages" in docu.
Hope that helps. Ciao,
On 27/01/2003 at 06:48, xxxxxxxx wrote:
Uuuups, I didn't see/read that want to code in COFFEE. Ehem, well, then forget my answers. It was for the C++ SDK. Perhaps you can do something analogous, but I don't know. Sorry...
On 27/01/2003 at 14:06, xxxxxxxx wrote:
NNIC ("No, not in C.O.F.F.E.E."), except that some of the message documentation in the linked thread above applies to C.O.F.F.E.E. as well.
Also, in C++ you would make a "tool button" by creating a tool plugin and adding it as a button from the Command Manager.