ViewObject API/es: Difference between revisions
(Updating to match new version of source page) |
Renatorivo (talk | contribs) (Created page with "Cuando la interfaz gráfica de usuario GUI está iniciada, cada objeto en el documento de FreeCAD tiene un objeto de vista (ViewOject) asociado, este reside el documento hom...") |
||
Line 1: | Line 1: | ||
Cuando la interfaz gráfica de usuario GUI está iniciada, cada objeto en el documento de FreeCAD tiene un objeto de vista (ViewOject) asociado, este reside el documento homólogo FreeCADGui. Un objeto de vista puede ser recuperado de dos modos. Ejemplo: |
|||
When the GUI is up, each object in the FreeCAD document has an associated ViewObject, that resides in the FreeCADGui document counterpart. A view object can be retrieved by two ways. Example: |
|||
myViewObj = FreeCAD.ActiveDocument.myObjectName.ViewObject |
myViewObj = FreeCAD.ActiveDocument.myObjectName.ViewObject |
||
myViewObj = FreeCADGui.ActiveDocument.myObjectName |
myViewObj = FreeCADGui.ActiveDocument.myObjectName |
Revision as of 19:45, 16 November 2014
Cuando la interfaz gráfica de usuario GUI está iniciada, cada objeto en el documento de FreeCAD tiene un objeto de vista (ViewOject) asociado, este reside el documento homólogo FreeCADGui. Un objeto de vista puede ser recuperado de dos modos. Ejemplo:
myViewObj = FreeCAD.ActiveDocument.myObjectName.ViewObject myViewObj = FreeCADGui.ActiveDocument.myObjectName print myViewObj.IV
Description:
Returns: the documentation string of the property of this class.
Description:
Returns: the name of the group which the property belongs to in this class. The properties sorted in differnt named groups for convenience.
Description:
Returns: the type of a named property. This can be (Hidden,ReadOnly,Output) or any combination.
Description: Checks if this object is derived from the given object type
Returns: True if given type is a father
Description: Sets a transformation on the Inventor node
Returns: nothing