Std SendToPythonConsole: Difference between revisions

From FreeCAD Documentation
(Created page with "<languages/> <translate> {{Docnav |Std Alignment |Std DlgPreferences |Std Edit Menu |IconL=Std_Alignment.png |IconC...")
 
mNo edit summary
Line 32: Line 32:


{{Std Base navi}}
{{Std Base navi}}

{{Userdocnavi}}
{{Userdocnavi}}
</translate>
</translate>

Revision as of 23:45, 4 February 2020

Std SendToPythonConsole

Menu location
Edit or right-click context menu → Send to Python Console
Workbenches
All
Default shortcut
None
Introduced in version
-
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)