- tu sélectionnes le sketch dans le Tree-View et tu copie / colles ceci dans la console python (cf. menu Affichage -> Panneaux -> Console Python) :
Code: Select all
for geo in Gui.Selection.getSelection()[0].Geometry:
if isinstance(geo, Part.Point):
Part.show(geo.toShape(),"Point")
elif isinstance(geo, Part.Circle):
Part.show(Part.Vertex(geo.Center),"Center")