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


makeLive( [surface] , [none=boolean])

Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.

makeLive is undoable, NOT queryable, and NOT editable.

This commmand makes an object live. A live object defines the surface on which to create objects and to move object relative to. Only construction planes, nurbs surfaces and polygon meshes can be made live.

The makeLive command expects one of these types of objects as an explicit argument. If no argument is explicitly specified, then there are a number of default behaviours based on what is currently active. The command will fail if there is more than one object active or the active object is not one of the valid types of objects. If there is nothing active, the current live object will become dormant. Otherwise, the active object will become the live object.

Return value



Long name (short name) Argument types Properties
none(n) boolean create
If the -n/none flag, the live object will become dormant. Use of this flag causes any arguments to be ignored.

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.makeLive( 'surface1' )
cmds.makeLive( none=True )