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

    Async dialog closes itself

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 756 Views
    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 Offline
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 12/03/2011 at 01:31, xxxxxxxx wrote:

      Hi there,

      My Async dialof closes itself as it opens. It does only stay opened if an error is thrown in the Dialog class.
      Any idea ?

      cheers, nux

      //edit:

      Seems like the dialog variable has to be part of the commanddata class.
      It opens now.

      But when I now open it up again, it, well .. Watch it: 😂

      Video on screenr.com

      //edit:

      Okei, got it. One must call the dlg.Restore() in the RestoreLayout() of the commanddata.

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

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 12/03/2011 at 11:24, xxxxxxxx wrote:

        Do you use asynchronous dialogs in scripts or only in plugins?

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

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 12/03/2011 at 13:28, xxxxxxxx wrote:

          Actually both.
          I opened this thread while testing it in script, then i chaged to Plugin.

          Niklas

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