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
    • Recent
    • Tags
    • Users
    • Login

    Open and close cinema 4d view

    Scheduled Pinned Locked Moved PYTHON Development
    4 Posts 0 Posters 418 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

      On 13/09/2013 at 06:29, xxxxxxxx wrote:

      I want to open a new Texture view and close it later on.
      Opening is ok, but closing does not work.
      I took the commands from the Script Log.

          c4d.CallCommand(170103) # New Texture View...    
          ....
          c4d.CallCommand(12097) # Close
      
      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        On 13/09/2013 at 13:43, xxxxxxxx wrote:

        Hi Pim,

        12097 is a general close command. I can't tell you how it works exactly, but it is called whenever you
        close a dialog in Cinema via Shift+W or the close command from the File menu.

        Interestingly, it does nothing when being called from Python, but closes the whole application
        when being called from COFFEE.

        I'll report back when I have additional information.

        -Niklas

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

          On 05/10/2013 at 00:36, xxxxxxxx wrote:

          This is a limitation of the Python implementation.

          Best,
          -Niklas

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

            On 06/10/2013 at 07:19, xxxxxxxx wrote:

            Ok, thanks.

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