Macro Remove parametric history

From FreeCAD Documentation
Revision as of 19:55, 18 April 2012 by Emagdalena (talk | contribs) (Languages in alphabetic order, except english that goes first)

Icono de macro genérico. Crea tu icono personal con el mismo nombre de la macro Remove parametric history

Descripción
Esta macro eliminará toda la asociatividad paramétrica de un objeto, dejándolo como una forma "tonta"

Autor : Yorik
Autor
Yorik
Descargar
None
Enlace
Versión Macro
1.0
Fecha última modificación
None
Versión(es) FreeCAD
None
Acceso directo predeterminado
None
Ver también
None

newShape = originalObject.Shape.copy()
newName = FreeCAD.ActiveDocument.ActiveObject.Name
FreeCAD.ActiveDocument.removeObject(newName)
newObject = FreeCAD.ActiveDocument.addObject("Part::Feature",newName)
newObject.Shape = newShape
Traducciones disponibles: