Base ExampleCommandModel.png Base ExampleCommandModel

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


Description

Description

FreeCAD05.png image

How to use

  1. How to use
  2. How to use

Options

Part Box.png Create Geometry

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

Properties

Base

{{TitleProperty|Base}}  (Code for the main title Properties)
  • DATAProperties: Properties
{{PropertyData|Properties}} (Code of title Data)
  • VIEWProperties: 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

Other languages:
English • ‎español • ‎français • ‎italiano • ‎русский