def __init__(self, name='Sphere', **kwargs): MayaGeom.__init__(self) kwargs['name'] = name kwargs['object'] = True print kwargs parts = cmds.sphere(**kwargs) self.name = parts[0]
def __init__(self, name='Sphere'): MayaGeom.__init__(self) parts = cmds.sphere(name=name, object=True, radius=1.0) self.name = parts[0]
def __init__(self, name='Sphere', **kwargs): MayaGeom.__init__(self) kwargs['name'] = name kwargs['object'] = True self._create(kwargs)