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

Derived from mel command maya.cmds.makeLive

Example:

import pymel.core as pm

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