Translations:Frequently asked questions/73/it
obj = FreeCAD.ActiveDocument.Wire
shp = obj.Shape
print shp.Faces
print shp.Wires
if shp.Wires:
for w in shp.Wires:
print w.isClosed()
obj = FreeCAD.ActiveDocument.Wire
shp = obj.Shape
print shp.Faces
print shp.Wires
if shp.Wires:
for w in shp.Wires:
print w.isClosed()