Std SendToPythonConsole: Difference between revisions

From FreeCAD Documentation
No edit summary
(Fixed GuiCommand.)
Line 19: Line 19:
|Shortcut={{KEY|Ctrl}}+{{KEY|Shift}}+{{KEY|P}}
|Shortcut={{KEY|Ctrl}}+{{KEY|Shift}}+{{KEY|P}}
|Version=0.19
|Version=0.19
|SeeAlso=-
}}
}}



Revision as of 10:20, 16 March 2020

Std SendToPythonConsole

Menu location
Edit → Send to Python Console
Workbenches
All
Default shortcut
Ctrl+Shift+P
Introduced in version
0.19
See also
None

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