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

    Which message does the tag receive when Viewport Solo is activated/selected?

    Cinema 4D SDK
    r20 python
    2
    3
    492
    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.
    • P
      pim
      last edited by

      I have a tag plugin that hides objects in the viewport and in the hierarchy.
      Except when the user clicks Viewport Solo, the objects are displayed again.

      To control this, I like to know what message the tag plugin receives, when the user selects Viewport Solo.

      c6f84a47-8b1a-41b0-9f4e-6c94e71999a0-image.png

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

        hello @pim

        I'm afraid there's no message. The command "simply" use ChangeNBit and SetDirty

        the bit changed is NBIT::EHIDE maybe you can check this bit and react to it.

        Cheers
        Manuel.

        MAXON SDK Specialist

        MAXON Registered Developer

        1 Reply Last reply Reply Quote 0
        • P
          pim
          last edited by

          Yes, I do the same.
          I can check whether the obj is dirty and set the nbits again.

          Thank you.

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