The only recognizes registered nodes and attributes. Reference, file, image plane, and audio nodes are registered by default.
Any other node that has an attribute (except custom attributes) with the useAsFilename flag can be registered. This requirement lets you control what is displayed in the , and allows for the support of custom node types from plug-ins and scripts.
To register an element with the File Path Editor
- In Maya, enter the MEL command filePathEditor -registerType "<nodetype>.<attribute>" -typeLabel "<labelname>"; into the or .
For example, to register an audio node with the label name Sound, enter the command filePathEditor -registerType "audio.filename" -typeLabel "Sound";
To register Scene Assembly
paths, do one of the following:
- To include representation files from the assembly definition node, use filePathEditor -registerType "assemblyDefinition";
- To include definition files from the assembly reference node, use filePathEditor -registerType "assemblyReference";
The element is saved automatically to the filePathEditorRegistryPrefs.mel file in your preferences folder. See Preferences.
Once registered, the label is used in the following parts of the :
To deregister an element with the File Path Editor
- In Maya, enter the MEL command filePathEditor -deregisterType "<nodetype>.<attribute>"; into the or .
For example, to deregister an audio node, enter the command filePathEditor -deregisterType "audio.filename";
The element is automatically removed from the filePathEditorRegistryPref.mel file in your preferences folder and all parts of the .
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License