Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Some events have an additional parameter to get the event type and the related object. For example, this code in event OnAddChild will print the new child name

Code Block
languagepy
def run(self, args):
   print(args['child'].GetName())