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

    how to get active viewport effect open/close state

    Cinema 4D SDK
    s22 python
    2
    4
    783
    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.
    • chuanzhenC
      chuanzhen
      last edited by

      Hi
      i want to use python to get active viewport effect open/close state.
      未标题-1.png
      Thanks for any help!

      相信我,可以的!

      1 Reply Last reply Reply Quote 0
      • chuanzhenC
        chuanzhen
        last edited by chuanzhen

        i find it in dbasedraw.h
        it work, example:

        bd[c4d.BASEDRAW_DATA_HQ_REFLECTIONS] = True
        

        相信我,可以的!

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

          Hello @chuanzhen,

          thank you for reaching out to us. It is good to see that you found a solution yourself and thank you for sharing your solution. In case future readers stumble upon this, here is a bit more extensive posting which leads up to the point where @chuanzhen was, already having a BaseDraw instance to write parameter values to.

          Cheers,
          Ferdinand

          MAXON SDK Specialist
          developers.maxon.net

          chuanzhenC 1 Reply Last reply Reply Quote 0
          • chuanzhenC
            chuanzhen @ferdinand
            last edited by

            @ferdinand Thanks for your help!

            相信我,可以的!

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