import maya.cmds as cmds cmds.window() cmds.columnLayout( adjustableColumn=True ) cmds.checkBox( label='teste',align='left', onc='teste()',ofc="") cmds.showWindow()
def teste(): cmds.sphere() How do I get command (ofc) to delete the sphere that I created with (onc)? Thanks to anyone who can help me.
-- http://groups.google.com/group/python_inside_maya
