Std SendToPythonConsole: Difference between revisions

From FreeCAD Documentation
mNo edit summary
m (→‎Description: added sections)
Line 21: Line 21:


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)
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==


{{Docnav
{{Docnav

Revision as of 23:50, 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)

Usage

Notes

Limitations

Scripting