GuiCommand: Name: Std ViewIvIssueCamPos MenuLocation: View , Stereo , Issue camera position Workbenches: All SeeAlso: Std_FreezeViews
Std ViewIvIssueCamPos
Description
The Std ViewIvIssueCamPos command prints the camera settings of the active 3D view in the Report view and the Python console.
Example output: camera settings after changing to isometric view in a new document
Usage
- Select the View → Stereo →
Issue camera position option from the menu.
Notes
- The camera settings can be used to add frozen views to a *.cam file. See Std FreezeViews.
Scripting
See also: Autogenerated API documentation and FreeCAD Scripting Basics.
The getCamera
method of the View object returns the same camera settings in a single string.
import FreeCADGui
view = FreeCADGui.ActiveDocument.ActiveView
view.getCamera()
⏵ documentation index > Std ViewIvIssueCamPos
This page is retrieved from https://github.com/FreeCAD/FreeCAD-documentation/blob/main/wiki/Std_ViewIvIssueCamPos.md