Go to: Synopsis. Return value. Keywords. Flags. Python examples.

Synopsis

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.

Return value

None

Keywords

studio, import, vice

Flags

convertShellToPoly, includeCameras, includeLights, transferDirectoryName
Long name (short name) Argument types Properties
includeCameras(ic) boolean create
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 create
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 create
If set (non-empty), use as directory for storing imbedded binary files, else use the directory given by "theTempDirectory->fullName()".
convertShellToPoly(sp) boolean create
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.

Python examples

import maya.cmds as cmds

cmds.filterStudioImport( includeCameras=False )