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

    Python Node - On Parameter makes updates

    Scheduled Pinned Locked Moved PYTHON Development
    2 Posts 0 Posters 334 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 27/06/2011 at 13:16, xxxxxxxx wrote:

      Hi,

      I think this is a bug, but it is very useful.
      If the parameter On is give to a Python Node, the Node updates every frame.

      Check this code on a Pythonnode with and without this parameter.

      def main() :  
        print "I'm main"  
        
      print "I'm outside."
      

      Is this the way it is supposed to be handled ?

      Cheers,
      Niklas

      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 27/06/2011 at 19:06, xxxxxxxx wrote:

        and it only updates the node? i could see this being way more useful than the AddEvent(). Assuming this is actually stable.

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