GuiCommand model/es: Difference between revisions

From FreeCAD Documentation
(Updating to match new version of source page)
(Updating to match new version of source page)
Line 42: Line 42:
==Archivos de guión==
==Archivos de guión==


The ExampleCommandModel tool can by used in [[macros]] and from the python console by using the following function:
The ExampleCommandModel tool can be used in [[macros]] and from the python console by using the following function:
'''makeExampleCommandModel (Data, Data)'''
'''makeExampleCommandModel(Data, Data)'''
* Creates a CommandModel using Data.
* Creates a CommandModel using Data.
* Returns the newly created object.
* Returns the newly created object.
Line 50: Line 50:
import FreeCAD, Base
import FreeCAD, Base
Base.makeExampleCommandModel(FreeCAD.Data,FreeCAD.Data)
Base.makeExampleCommandModel(FreeCAD.Data,FreeCAD.Data)

==Otros (opcional)==
==Otros (opcional)==
!
!

Revision as of 22:24, 11 November 2018

Base_ExampleCommandModel

Ubicación en el Menú
Ninguno
Entornos de trabajo
Wb1,Wb2
Atajo de teclado por defecto
Ninguno
Introducido en versión
-
Ver también
Ninguno

Descripción

Insert here a short description of what the command does.

image

Descripción


image


Utilización

  1. Cómo se utiliza
  2. Cómo se utiliza

Opciones

  • TASK Length:Tareas
{{PropertyTasks|Length}} (Código del título)
  • Opciones

Propiedades

  • DatosProperties:Propiedades
{{PropertyData|Length}} (Código del título)
  • VistaProperties:Propiedades
 {{PropertyView|Properties}} (Código del título)

Example

Optional

Archivos de guión

The ExampleCommandModel tool can be used in macros and from the python console by using the following function:

makeExampleCommandModel(Data, Data)
  • Creates a CommandModel using Data.
  • Returns the newly created object.

Ejemplo:

import FreeCAD, Base
Base.makeExampleCommandModel(FreeCAD.Data,FreeCAD.Data)

Otros (opcional)

!