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

    SendModelingCommand \ LOOP_TOOL

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 534 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

      On 25/01/2018 at 10:35, xxxxxxxx wrote:

      Hello
      How to configure ID_MODELING_ **LOOP_TOOL ** method via SendModelingCommand?
      **ID_MODELING_RING_TOOL ** works fine. ****

      I tried this code, but always got False:

      bc = c4d.BaseContainer()  
      bc[c4d.MDATA_LOOP_SEL_STOP_AT_BOUNDS] = False  
      bc[c4d.MDATA_LOOP_SEL_SELECT_BOUNDS] = False  
      bc[c4d.MDATA_LOOP_SEL_GREEDY_SEARCH] = False
      bc[c4d.MDATA_LOOP_LOOP_EDGE] = 1 # edge index  
      bc[c4d.MDATA_LOOP_SELECTION] = c4d.SELECTION_ADD
        
      utils.SendModelingCommand(command=c4d.ID_MODELING_LOOP_TOOL,  
                                list=[op],  
                                mode=c4d.MODELINGCOMMANDMODE_EDGESELECTION,  
                                bc=bc,  
                                doc=doc,  
                                flags=c4d.MODELINGCOMMANDFLAGS_0)
       **** __ ~~~~
      

      **** __ ~~~~

      ** Thanks!**

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

        On 26/01/2018 at 06:42, xxxxxxxx wrote:

        Hi,

        welcome to Plugin Café forums 🙂

        No good news for you, this seems to be a bug with SendModelingCommand() and ID_MODELING_LOOP_TOOL. I filed a bug report and we'll see to get this fixed in a future version. Unfortunately I can not tell a date or version.

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

          On 26/01/2018 at 15:00, xxxxxxxx wrote:

          thanks for answer! I hope it will be fixed soon.

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