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
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Polygon groups to object

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 336 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 23/07/2012 at 10:20, xxxxxxxx wrote:

      Hi everybody,

      I can split a group of polygons into two objects by doing:
      Mesh -> Conversion -> Polygon groups to objects

      I would like to use SendModellingCommand to the same but I couldn't find the command in the API documentation (R13)

      Has anybody an idea how to do that?

      Thanks

      PS: What I try to achieve is to slice a model (a window actually) into 8 pieces - 4 corners, 2 vertical bits, 2 horizontal bits. I use Boole object to intersect.

      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 23/07/2012 at 14:49, xxxxxxxx wrote:

        I could be wrong but it doesn't look to me like a single command. If you take a connected, editable extrude nurbs as an example, you've typically got a single polygon object with two selection tags.

        What I think 'polygon groupos to objects' is doing is selecting the polys in the first tag and calling Split, then deleting the original polys. Then it selects the polys in the other tag and does the same. Finally it selects all the other polys and does the same again. Then it just groups the three new objects under the original one, which by now has no polygons in it.

        You could easily do the same with SendModelingCommand but an easier way might be just to use CallCommand with ID 17891.

        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 25/07/2012 at 01:55, xxxxxxxx wrote:

          Hi spedler,

          Thanks for your help. I've actually used a workaround that requires a little bit more preparation of the model but  that is much faster - in programmer's view anyway 🙂

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