All pastes #424516 Raw Edit

Unnamed

public python v1 · immutable
·published 2007-04-04 20:56 UTC
rendered paste body
Window.WaitCursor(1)scn = Scene.GetCurrent()ob = scn.getActiveObject()if not ob or ob.getType() != 'Mesh':	Draw.PupMenu('Error, no active mesh object, aborting.')	returnme = ob.getData(mesh=1)del obscn.update()del scnWindow.Redraw(Window.Types.VIEW3D)Window.WaitCursor(0)