Translations:BIM ingame tutorial/167/en

From FreeCAD Documentation

Tutorial steps

Select the section plane
bool(len([o for o in FreeCADGui.Selection.getSelection() if "Section" in o.Name]) == 1)
Create a Shape 2D View
bool(len([o for o in FreeCAD.ActiveDocument.Objects if "Shape2DView" in o.Name]) == 1)