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

    Is that possibe to Hide Object in Active BaseDraw?

    Cinema 4D SDK
    python 2024 windows
    2
    3
    472
    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.
    • gheyretG
      gheyret
      last edited by

      Hi everyone,
      I'm trying to Hide the selected Objects in Active(selected) viewport, but still show in other viewport, is that possible?
      I know the NBIT_EHIDE , but it seems to be global , the object is hidden in all viewports.
      I just want to hide it in active viewport.

      www.boghma.com

      ferdinandF 1 Reply Last reply Reply Quote 0
      • ferdinandF
        ferdinand @gheyret
        last edited by ferdinand

        Hello @gheyret,

        thank you for reaching out to us. No, that is not possible, at least not to my knowledge. What you could do, is hide the object and then draw it yourself in the viewports you want it to appear in with BaseDraw.DrawObject. But that would only be an approximation, and you might run into problems with z-ordering and/or draw passes.

        Cheers,
        Ferdinand

        MAXON SDK Specialist
        developers.maxon.net

        gheyretG 1 Reply Last reply Reply Quote 0
        • gheyretG
          gheyret @ferdinand
          last edited by

          Hi @ferdinand,
          Thanks for your reply.
          I just want to make sure if it's possible.
          And I'll try the BaseDraw.DrawObject later.

          www.boghma.com

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