pymel.core.general.makeLive

makeLive(*args, **kwargs)

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.

Flags:
Long name (short name) Argument Types Properties
none (n) bool ../../../_images/create.gif
 

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 commandFlag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.makeLive

Example:

import pymel.core as pm

import maya.cmds as cmds

pm.makeLive( 'surface1' )
pm.makeLive( none=True )

Previous topic

pymel.core.general.makeIdentity

Next topic

pymel.core.general.makePaintable

Core

Core Modules

Other Modules

This Page