Go to: Synopsis. Return value. Keywords.
Flags. Python
examples.
filterStudioImport([convertShellToPoly=boolean],
[includeCameras=boolean],
[includeLights=boolean],
[transferDirectoryName=string])
Note: Strings representing object names and
arguments must be separated by commas. This is not depicted in the
synopsis.
filterStudioImport is NOT undoable, NOT queryable,
and NOT editable.
Directly sets the filter options on the studioImport plugin from
anywhere in MEL without having to use the UI. This is used by ViCE.
None
studio, import, vice
convertShellToPoly, includeCameras, includeLights, transferDirectoryName
Long name (short name) |
Argument types |
Properties |
includeCameras(ic) |
boolean |
 |
|
If true, cameras in the input to "studioImport" will be
translated. If false, any/all cameras encountered by "studioImport"
will be ignored. |
|
includeLights(il) |
boolean |
 |
|
If true, lights in the input to "studioImport" will be
translated. If false, any/all lights encountered by "studioImport"
will be ignored. |
|
transferDirectoryName(td) |
string |
 |
|
If set (non-empty), use as directory for storing imbedded
binary files, else use the directory given by
"theTempDirectory->fullName()". |
|
convertShellToPoly(sp) |
boolean |
 |
|
If true, shells in the input will be converted to triangular
meshes. If false, any/all shells encountered will be groups of
surfaces. |
|
Flag can appear in Create mode of
command |
Flag can appear in Edit mode of command |
Flag can appear in Query mode of command |
Flag can have multiple arguments, passed
either as a tuple or a list. |
import maya.cmds as cmds
cmds.filterStudioImport( includeCameras=False )