GuiCommand model/es: Difference between revisions
(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 |
The ExampleCommandModel tool can be used in [[macros]] and from the python console by using the following function: |
||
'''makeExampleCommandModel |
'''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.
- Cómo se utiliza
- 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)
!