GuiCommand model/ro: Difference between revisions

From FreeCAD Documentation
(Created page with "==Descriere==")
(Created page with "== Cum se folosește ==")
Line 14: Line 14:
[[image:FreeCAD05.png]] image
[[image:FreeCAD05.png]] image


==How to use==
== Cum se folosește ==


# Press the {{KEY|[[File:Std Close.png|24px]] '''Command name'''}} button.
# Press the {{KEY|[[File:Std Close.png|24px]] '''Command name'''}} button.

Revision as of 08:38, 9 November 2018

Base ExampleCommandModel

poziția meniului
Sample → Command
Ateliere
scurtătură
nici unul
Prezentat în versiune
-
A se vedea, de asemenea,
nici unul

Descriere

Insert here a short description of what the command does.

image

Cum se folosește

  1. Press the File:Std Close.png Command name button.
  2. Detailed steps as needed.
  3. Set options and press OK.

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)
  • DateProperties: Properties
{{PropertyData|Properties}} (Code of title Data)
  • VizualizareProperties: 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