Go to: Synopsis. Return value. Keywords. Related. Flags. MEL examples.
fileInfo [-remove string]
fileInfo is NOT undoable, queryable, and NOT editable.
fileInfo provides a mechanism for keeping information related to a Maya scene file. Each invocation of the command consists of a keyword/value pair, where both the keyword and the associated value are strings. The command may be invoked multiple times with different keywords. Maya emits this command several times into each file it creates, primarily to provide details such as which productization or packaging of the program was used (e.g "Complete", "Unlimited"), the specific version and build identification that was run, and the operating system on which it was run. Maya may make use of this information when present in files it reads. All keyword/value pairs defined by use of the fileInfo command are preserved when Maya saves the scene, whether to an ASCII or binary file.string[] |
In query mode, return type is based on queried flag.
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-remove(-rm)
|
string
|
![]() ![]() |
||
|
![]() |
![]() |
![]() |
![]() |
fileInfo "application" "maya"; fileInfo "product" "Maya Unlimited 4.5"; fileInfo "version" "4.5"; fileInfo "cutIdentifier" "200111091529"; fileInfo "osv" "IRIX 6.5 04151556 IP32"; fileInfo -q "application"; // maya fileInfo -q; // returns a list of all keyword/value pairs, in the order they were // defined.