Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Recent
    • Tags
    • Users
    • Register
    • Login

    Problem creating Boolean Object

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 364 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        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.

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          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?

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            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. 🙂

            1 Reply Last reply Reply Quote 0
            • First post
              Last post