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
    • Login

    is the "connect object" available as a BaseObject

    Scheduled Pinned Locked Moved SDK Help
    4 Posts 0 Posters 396 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 01/10/2010 at 16:14, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:    
      Platform:      
      Language(s) :     C++  ;

      ---------
      Hi,

      i am just wondering if the "connect object" is available as a BaseObject, just like Ocube or others?
      I cannot find it, but it is available in cinema as a object type.. can i use it the same within a Generator Plugin?? it would be much better than using ModellingCommand plus i actually dont know if i can even use a ModellingCommand with VirtualObjects...

      thanks for your intput..
      cheers,
      Ello

      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 04/10/2010 at 05:25, xxxxxxxx wrote:

        The ID of the Connect object is 1011010.

        You can always get the ID of objects/tags etc. by dragging them into the command field of the Cinema console and print the type.

        See here:

        cheers,
        Matthias

        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 04/10/2010 at 05:45, xxxxxxxx wrote:

          ok, i tried that and it didnt work. so there must have been another error somewhere

          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 04/10/2010 at 07:01, xxxxxxxx wrote:

            This code is working for me. It simply returns a Connect object in GetVirtualObjects(). You can see it if you make the object editable.

              
            BaseObject *RoundedTube::GetVirtualObjects(BaseObject *op, HierarchyHelp *hh)  
            {  
              BaseObject *ret = NULL;  
              
              Bool dirty = op->CheckCache(hh) || op->IsDirty(DIRTYFLAGS_DATA);  
              if (!dirty) return op->GetCache(hh);  
              
              ret = BaseObject::Alloc(1011010);  
              
              if (!ret) return NULL;  
              
              return ret;  
            }  
            

            cheers,
            Matthias

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