![]() Runs after the user creates a new instance of a node type ( not when a scene file loads, see OnLoaded below). You may want to include corresponding code in a PostLastDelete handler (see below) to undo changes made by this script. The user cannot undo the actions performed in this script. In the script you can check if the node is being created because Houdini is loading a file using the () function. For example, copying texture maps to required locations, or setting environment variables. This can be useful for setting up an environment necessary for one or more instances of the asset to work. If you then added another geometry object, the event would not trigger. ![]() This includes when Houdini is creating nodes as it loads a scene file from disk.įor example, if a scene has no geometry objects, when you add one, this would trigger the PreFirstCreate handler for the geometry object type. ![]() Runs when the first instance of a node type is created in a scene. The following events can trigger scripts. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |