Python Scripting Component

Overview

This extension supports adding custom Python scripts to any prim. When a USD stage opens any Python Scripting Component attached to a prim, it will have its script executed. This extension also enables new features to the Content browser and the Property window for Python script creation and editing from the default text editor associated with Python files. These features are covered in User Manual (see below).

Warning

There is currently no limitation on what code can be executed by USD files that have Python Scripting Components with assigned scripts. This means that a USD Stage that contains scripts should only be used when the author of the USD content is trusted. For example, arbitrary code could reference in script assets used in the USD, which will be executed with the same system credentials as the user who opens the file in Kit.

Documentation

For more information for using the Omiverse Kit Scripting SDK within your Python Scripting Component scripts, visit our Kit Documentation