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

    Disable element

    SDK Help
    0
    2
    280
    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
      Helper
      last edited by

      On 30/07/2016 at 11:15, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   R17 
      Platform:   Windows  ;   
      Language(s) :     C++  ;

      ---------
      Hello.

      What I want to do is to click on a button in a GeDialog and disable an element in a VideoPostData plugin.

      So, I implement VideoPostData's GetDEnabling to disable that element if the button is clicked in the dialog.
      I also add EventAdd in button's callback.

      Is this the right way to do it ?
      EventAdd seems to be heavy since it refreshes everything, while I want to refresh ony the render settings.

      THank you for your time.

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

        On 01/08/2016 at 02:08, xxxxxxxx wrote:

        Hi,

        your approach seems a bit unorthodox to me. At least I'm not aware of places, where VideoPost settings are influenced in this was. So there's actually no right (in the sense of common) way to do it.
        That being said, I'm not aware of a better way.

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