Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    How to Apply a modeling command?

    Cinema 4D SDK
    s26 windows python
    2
    3
    524
    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.
    • G
      Gaal Dornik
      last edited by

      Hello, i'm trying to make a quick flatten command with custom settings, but i can't find it in MCOMMAND list so it looks like i can't use SendModelingCommand which would be ideal for this. Right now i can change settings for the tool, but don't know how to hit 'Apply' button in Python.
      How can i do that?

      Thanks.

      1 Reply Last reply Reply Quote 0
      • i_mazlovI
        i_mazlov
        last edited by i_mazlov

        Hello @Gaal-Dornik,

        I think this example on the github does exactly what you're looking for using the c4d.ID_MODELING_FLATTEN_TOOL id for the SendModelingCommand.

        Let me know if there're any further questions.

        Cheers,
        Ilia

        MAXON SDK Specialist
        developers.maxon.net

        1 Reply Last reply Reply Quote 0
        • G
          Gaal Dornik
          last edited by

          Thanks man, i'll take a look at it!

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