From FreeCAD Documentation
Siendo paramétricos, los objetos del documento en FreeCAD pueden tener un montón de propiedades adicionales, pero estas son las básicas, presentes en cada objeto del documento de FreeCAD. Los objetos se pueden recuperar simplemente por su nombre. Por ejemplo:
myObj = FreeCAD.ActiveDocument.myObjectName
print myObj.PropertiesList
Content
Devuelve: an XML representation of the properties of an object.
Label
Devuelve: Gets/sets the objects label. The string can be unicode.
Name
Devuelve: the unique name of an object.
Placement
Devuelve: Gets/sets the Placement of an object. A placement defines an orientation (rotation) and a position (base) in 3D space. It is used when no scaling or other distortion is needed.
Pos
Devuelve: the position part of the placement
PropertiesList
Devuelve: a list of the properties of an object
State
Devuelve: the FreeCAD state of an object (ie. if it needs to be recomputed)
Type
Devuelve: a string describing the type of an object
ViewObject
Devuelve: the associated View Provider (FreeCADGUI object) of an object
getAllDerivedFrom (
)
Descripción:
Devuelve: all descentences of this object
getDocumentationOfProperty (
)
Descripción:
Devuelve: the documentation string of the property of this class.
getGroupOfProperty (
)
Descripción:
Devuelve: the name of the group which the property belongs to in this class. The properties sorted in differnt named groups for convenience.
getPropertyByName (
)
Descripción:
Devuelve: the value of a named property.
getTypeOfProperty (
)
Descripción:
Devuelve: the type of a named property. This can be (Hidden,ReadOnly,Output) or any combination.
isDerivedFrom (
)
Descripción:
Devuelve: True if given type is a father
purgeTouched (
)
Descripción: Marks the object as unchanged
Devuelve:
touch (
)
Descripción: Marks the object as changed (touched)
Devuelve:
Traducciones disponibles: