Problem creating Boolean Object



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 21/09/2005 at 14:27, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   8.012 
    Platform:   Windows  ;   
    Language(s) :

    ---------
    Hi all

    I'm trying (using COFFEE) to create a Boolean object, which is apparently a BaseObject.

    The 9.1 Coffee doc indicates to use
    [BaseObject] AllocObject([int] type);
    but it seems that function is new in 9.1

    Hence I tried:
    var boolObj = new(BaseObject,BaseObject->Oboole);

    but that gives a runtime error:
    (5)Incompatible values... CLASS / OBJECT

    I've also tried :
    var boolObj = new(BaseObject,Oboole);
    but that fails immediately at startup. Dunno what the scope of the constant Oboole is, might not be available.

    What's the right syntax for this?

    Once created, I'll need to set the Boolean object to Type 'A intersect B', and since I can't find a specific class for a Boolean object in the SDK (seems to be just a BaseObject), how can I set the type?

    clueless,

    YT



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 21/09/2005 at 16:03, xxxxxxxx wrote:

    var booleObject = new(BooleObject);
    

    Get the COFFEE 6.3 documentation. Although there have been spuradic updates from then until COFFEE 9.1, this is the only official documentation for all between.



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 22/09/2005 at 12:53, xxxxxxxx wrote:

    Thanks Robert!

    I've got the 8.2 C++ SDK docs.
    On plugincafe / maxon, I can't find COFFEE docs other than 9.1 .

    Any idea where to find the 6.3 COFFEE docs?



  • THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

    On 22/09/2005 at 13:23, xxxxxxxx wrote:

    No idea. Don't appear to be available here anymore, do they?

    I'm going to send you a private message here for more info. :)


Log in to reply