Std SendToPythonConsole: Difference between revisions

From FreeCAD Documentation
(Minor edits to GuiCommand. Fixed Docnav.)
No edit summary
Line 15: Line 15:
{{GuiCommand
{{GuiCommand
|Name=Std SendToPythonConsole
|Name=Std SendToPythonConsole
|MenuLocation=Edit → Send to Python Console
|MenuLocation={{StdMenu|[[Std Edit Menu|Edit]]}} → Send to Python Console
|Workbenches=All
|Workbenches=All
|Shortcut=-
|Shortcut=-

Revision as of 14:38, 11 March 2020

Std SendToPythonConsole

Menu location
Edit → Send to Python Console
Workbenches
All
Default shortcut
-
Introduced in version
0.19
See also
-

Description

This command creates a variable named "obj" in the FreeCAD Python Console that references the currently selected object. If a subshape of the object is also selected, a "shp" variable will also be created, referencing the object shape, and an "elt" variable referencing the selected subshape (edge, face, or vertex)

Usage

Notes

Limitations

Scripting