Go to: Related nodes. Attributes.
Enum
Type
Description 0
Demand
The scripts are only executed if explicitly requested with
the scriptNode command. The after script will execute
if the node is deleted.
1
Open/Close
The before script will execute when the file is read. The
after script will execute when the file is closed. The file
is closed immediately after a file new is issued, but while
the file is still in memory; before a file open of a
different file; or if the file is de-referenced. The after
script will execute when the node is deleted.
2
GUI Open/Close
The script will only execute during file open and close
when Maya is in full GUI mode, not in batch mode. The after
script will execute when the node is deleted.
3
UI Configuration (Internal)
An internally used enum which indicates the script is used
to store the UI configuration for a scene. Any script node
with this enum may be deleted or changed without notice.
4
Software Render
The before script will execute immediately before a software
render starts. The after script executes when the software
render is finished.
5
Software Frame Render
The before script executes before a frame is software
rendered. The after script is executed after the frame
is rendered.
6
Scene Configuration (Internal)
An internally used enum which indicates the script is used
to store the configuration information for a scene. Any script
node with this enum may be deleted or changed without
notice.
7
Time Changed (Internal)
The script executes if the time is changed.
Node name | Parents | MFn type | Compatible function sets |
---|---|---|---|
script | dependNode | kScript | kBase kNamedObject kDependencyNode kScript |
Long name (short name) | Type | Default | Flags | ||
---|---|---|---|---|---|
before
(b )
| string | NULL | |||
after
(a )
| string | NULL | |||
scriptType
(st )
| enum | 0 | |||