anCircleCentr.setValue(0, 0)
aCircleRadius.setValue(10)
aSession.finishOperation()
+aSession.startOperation()
anExtrusionCutFt.string("CreationMethod").setValue("BySizes")
anExtrusionCutFt.real("to_size").setValue(10)
anExtrusionCutFt.real("from_size").setValue(10)
anExtrusionCutFt.selectionList("boolean_objects").append(anExtrusionResult, anExtrusionResult.shape())
anExtrusionCutFt.execute()
aSession.finishOperation()
+aSession.finishOperation()
#=========================================================================
# Test results
assert (len(anExtrusionCutFt.results()) > 0)
aCurrentResult = modelAPI_ResultBody(anExtrusionCutFt.firstResult())
assert (aCurrentResult is not None)
-aSession.finishOperation()
\ No newline at end of file