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

    CallCommand Select Connected is not working on R22

    Cinema 4D SDK
    python s22 r23
    2
    3
    390
    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.
    • mikeudinM
      mikeudin
      last edited by

      Hello!
      Just found that the python API command

      c4d.CallCommand(12557) # Select Connected
      

      In Cinema 4D R22-23 in UV Editing Mode is not working as expected. Selects all UV polygons, instead polygons on a same UV island like on previous versions. Any idea how to fix that?

      Checkout my python tutorials, plugins, scripts, xpresso presets and more
      https://mikeudin.net

      1 Reply Last reply Reply Quote 0
      • ManuelM
        Manuel
        last edited by

        hi,

        The command is checking where you mouse cursor is, or what was the last manager to be active. If you use the regular command (U~W) you will have different result depending on where your mouse cursor is.

        It's the same for the CallCommand. So if you drag and drop the script manager icon to a palette, you will be able to execute the command and got the same result.

        Another workaround is to open a UV windows before calling the command.

        c4d.CallCommand(170103)
        

        This will make the UV manager to be the last active windows and your command will work as expected. But you will not be able to close that windows.

        I'll send an email to our devs to see if it's intended or not, specially when you are have UVMode activated.

        Cheers,
        Manuel

        MAXON SDK Specialist

        MAXON Registered Developer

        1 Reply Last reply Reply Quote 0
        • mikeudinM
          mikeudin
          last edited by

          Thank you @m_magalhaes !

          Checkout my python tutorials, plugins, scripts, xpresso presets and more
          https://mikeudin.net

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