Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware 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

    Did start PictureViewer render ?!

    PYTHON Development
    0
    2
    450
    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

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

      On 04/06/2011 at 06:14, xxxxxxxx wrote:

      Hi,

      I really need a way to recognize if the picuture viewer did start rendering !
      Is there any way ?

      Thx,
      niklas

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

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

        On 04/06/2011 at 08:45, xxxxxxxx wrote:

        The only chance in a NodeData is to check in NodeData.Message if type==MSG_MULTI_RENDERNOTIFICATION is send.

        def Message(self, node, type, data) :
                if type==c4d.MSG_MULTI_RENDERNOTIFICATION:
                    if documents.GetActiveDocument()==node.GetDocument() :
                        print "Editor Rendering"
                    else:
                        print "External Rendering"

        The message will be sent to all instances of the document on start and stop of the rendering.

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