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

    c4d.PrefsLib_OpenDialog is not working.

    Cinema 4D SDK
    python r20
    2
    3
    629
    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.
    • merkvilsonM
      merkvilson
      last edited by

      I tested c4d.PrefsLib_OpenDialog function in Console as well as in Script Manager. I tried to pass almost all pages as its Parameter, but it opens only the Interface Page.

      1 Reply Last reply Reply Quote 0
      • M
        m_adam
        last edited by m_adam

        Thanks for reaching us, I can indeed confirm the issue and I've forwarded it to our development team.

        Edit: It seems that symbols are wrongs atm.
        So you need to pass the actual plugin ID of the correct pref.

        You can find the correct ID with this line of code, simply change "Memory" by the one you are trying to open.

        [plug.GetID() for plug in c4d.plugins.FilterPluginList(c4d.PLUGINTYPE_PREFS, True) if "Memory" == plug.GetName()]
        

        Cheers,
        Maxime

        MAXON SDK Specialist

        Development Blog, MAXON Registered Developer

        merkvilsonM 1 Reply Last reply Reply Quote 3
        • merkvilsonM
          merkvilson @m_adam
          last edited by

          @m_adam

          Thanks, Maxime!
          You solved yet another issue.

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