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

    CallCommand(12144); [Group] doesnt work

    Scheduled Pinned Locked Moved SDK Help
    6 Posts 0 Posters 544 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 09/06/2009 at 14:24, xxxxxxxx wrote:

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

      ---------
      Hi there,

      i have read thru the different threads here concerning joining objects. but dont get it to work.

      what i am doing is loading a document :
      BaseDocument* doc2 = LoadDocument(fileName,0L, NULL);
      and after selecting some objects via
      doc- >SetActiveObject(child, SELECTION_ADD);
      i want to connect them with
      CallCommand(12144);

      i also tried to use SendModelingCommand MCOMMAND_JOIN, but that needs to have a group of subobjects, too, which i dont have in my base scene and CallCommand(100004772); doesnt work, too. the objects remain ungrouped.

      any ideas, hints??

      thanks and 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 12/06/2009 at 01:31, xxxxxxxx wrote:

        anyone? i still had no success with this. must be something general i guess, but i just have no idea where to look

        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 12/06/2009 at 15:47, xxxxxxxx wrote:

          I did further tests but still cant get it.

          this should connect all objects in the document (at least from my understanding) but doesnt work:

          > <code>
          >
          >> `

                                             CallCommand(100004748);   
          \>  CallCommand(100004766);  
          \>  CallCommand(12144);  
          \>  
          

          `
          >
          > </code>

          and this should create a group from all objects:
          > <code>
          >
          >> `

            
          \>  CallCommand(100004748);   
          \>  CallCommand(100004766);  
          \>  CallCommand(100004772);  
          \>  
          

          `
          >
          > </code>

          anyone??

          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 13/06/2009 at 03:06, xxxxxxxx wrote:

            ok, i found out that i first had to ensure that the document was active. now i group all objects, select the parent and CallCommand(12144), but all i get is a polygonobject with no polygons??

            anyone have an idea what could cause this?

            thanks in advance,
            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 13/06/2009 at 05:09, xxxxxxxx wrote:

              i did it now with SendModelingCommand MCOMMAND_JOIN, but i still like to know why CallCommand(12144) doesnt do it?

              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 15/06/2009 at 08:07, xxxxxxxx wrote:

                Connect only works with polygon objects and editable splines.

                cheers,
                Matthias

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