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 in Skriptmanager

    Scheduled Pinned Locked Moved PYTHON Development
    3 Posts 0 Posters 571 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 28/04/2011 at 08:50, xxxxxxxx wrote:

      Hi,

      seems like Async dialogs are not "possible" in the scriptmanager.

      The dialog closes itself once it has been opened, or what am I doing wrong ?

        
      import  c4d  
      from    c4d.gui     import GeDialog  
        
      class Dialog(GeDialog) :  
        def __init__(self) :  
            GeDialog.__init__(self)  
        
        def CreateLayout(self) :  
            self.SetTitle("Async Dialog")  
            self.html   = self.AddCustomGui(    1000,  
                                                c4d.CUSTOMGUI_HTMLVIEWER,  
                                                "Link Test",  
                                                c4d.BFH_SCALEFIT | c4d.BFV_SCALEFIT,  
                                                0, 0 )  
        
            return True  
        
      d = Dialog()  
      d.Open(c4d.DLG_TYPE_ASYNC,1000001)  
      
      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 04/05/2011 at 13:27, xxxxxxxx wrote:

        Non Modal Dialogs i don't believe are possible except in a plugin.

        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 01/06/2011 at 09:34, xxxxxxxx wrote:

          Yes, asynchronous dialogs are only possible in plugins, not in the script manager.

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