GuiCommand model/es: Difference between revisions

From FreeCAD Documentation
m (minor)
(Updating to match new version of source page)
Line 1: Line 1:
{{GuiCommand/es|Name=Base_ExampleCommandModel|Workbenches=Wb1,Wb2}}
{{GuiCommand|Name=Base ExampleCommandModel|MenuLocation=Sample -> Command|Workbenches=Wb1,Wb2}}


==Descripción==
==Description==


Description
Descripción
<br>
[[image:FreeCAD05.png]] image
<br><br>
<br><br>
[[image:FreeCAD05.png]] image
==Utilización==
<br><br>

==How to use==
# Cómo se utiliza
# Cómo se utiliza

==Opciones==

* {{PropertyTasks|Length}}:Tareas
<nowiki>{{PropertyTasks|Length}}</nowiki> (Código del título)
* Opciones

==Propiedades==


# How to use
* {{PropertyData|Properties}}:Propiedades
# How to use
<nowiki>{{PropertyData|Length}}</nowiki> (Código del título)
* {{PropertyView|Properties}}:Propiedades
<nowiki> {{PropertyView|Properties}}</nowiki> (Código del título)


==Options==
==Archivos de guión==
{{TitleTasks|[[Image:Part_Box.png|24px]] Create Geometry }}
<nowiki>{{TitleTasks|[[Image:Icon.png|24]] + Text}}</nowiki> (Code for the main title Tasks)
* {{PropertyTasks|Tasks}} : Tasks
<nowiki>{{PropertyTasks|Tasks}}</nowiki> (Code of title Tasks)
* Options


==Properties==
Archivos de guión
{{TitleProperty|Base}}
<nowiki>{{TitleProperty|Base}}</nowiki> (Code for the main title Properties)
* {{PropertyData|Properties}}: Properties
<nowiki>{{PropertyData|Properties}}</nowiki> (Code of title Data)
* {{PropertyView|Properties}}: Properties
<nowiki>{{PropertyView|Properties}}</nowiki> (Code of title View)


==Example==
code
Optional


==Scripting==
Ejemplo


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


Example:
==Otros (opcional)==
import FreeCAD, Base
!
Base.makeExampleCommandModel(FreeCAD.Data,FreeCAD.Data)
==Other==
Optional


{{clear}}
{{languages/es | {{en|GuiCommand_model}} {{fr|GuiCommand_model/fr}} {{it|GuiCommand_model/it}}}}
<languages/>

Revision as of 18:39, 23 August 2014

Base ExampleCommandModel

Menu location
Sample -> Command
Workbenches
Wb1,Wb2
Default shortcut
None
Introduced in version
-
See also
None

Description

Description

image

How to use

  1. How to use
  2. How to use

Options

Create Geometry

{{TitleTasks|[[Image:Icon.png|24]] + Text}} (Code for the main title Tasks)
  • TASK Tasks : Tasks
{{PropertyTasks|Tasks}} (Code of title Tasks)
  • Options

Properties

Base

{{TitleProperty|Base}}  (Code for the main title Properties)
  • DatosProperties: Properties
{{PropertyData|Properties}} (Code of title Data)
  • VistaProperties: Properties
{{PropertyView|Properties}} (Code of title View)

Example

Optional

Scripting

The ExampleCommandModel tool can by 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.

Example:

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

Other

Optional