THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 29/10/2004 at 12:00, xxxxxxxx wrote:
Cinema 4D Version: 8.500
Platform: Windows ;
Language(s) : C++ ;
when opening the Coffee Editor with CoffeeEditor_Open() I need to pass a baselist2D object and the callback function.
This is clear for generators etc, but what BaseList2D object shall be passed when this is in a dialog? The dialog doesn´t require any objects in the scene so I can not pass the active object for example.
Any help is appreciated.
On 03/11/2004 at 11:06, xxxxxxxx wrote:
I think you can just set it to a dummy object.
On 04/11/2004 at 13:23, xxxxxxxx wrote:
On 03/06/2005 at 10:38, xxxxxxxx wrote:
long time ago I posted this, but I need another advice here.
I have an object that is not in a document and when I try to open the coffee editor from within its message function, the editor is opened but the code is not in it and the whole editor is ghosted (greyed out).
Any way to workaround this?
On 03/06/2005 at 10:43, xxxxxxxx wrote:
A dummy document? Really, maybe putting the dummy object into a dummy document (one not added to the editor list) will work - maybe. Worth a try.
On 03/06/2005 at 10:52, xxxxxxxx wrote:
already tried that and it doesn´t work and the object I have I cannot insert into the document as it has to stay outside a document. Any other idea?
On 03/06/2005 at 10:58, xxxxxxxx wrote:
Ok, it seems the object has to be in the currently active document (what the...).
On 03/06/2005 at 11:07, xxxxxxxx wrote:
That was my fear if the dummy didn't work. You can insert the dummy object and remove it once you are done. Just remember that while not in the document, you own the object and must handle its deletion. I don't know of any object that doesn't appear in the Object Manager. The least damaging, I guess, is a Null Object. Poor solution, I'll admit.
On 03/06/2005 at 11:09, xxxxxxxx wrote:
yes, but unfortunately it´s an inacceptable workaround for me.
On 03/06/2005 at 12:01, xxxxxxxx wrote:
ok, wrote my own coffee editor. (I hate this...such simple things and one still has to code own stuff for things that are already there)