aSession.finishOperation()
assert (len(aPoint.result()) > 0)
-# Create a sketch with lines
-aSession.startOperation()
-anOrigin = GeomAPI_Pnt(0, 0, 0)
-aDirX = GeomAPI_Dir(1, 0, 0)
-aNorm = GeomAPI_Dir(0, 0, 1)
-aSketch = model.addSketch(aDocument, GeomAPI_Ax3(anOrigin, aDirX, aNorm))
-aSketchLine1 = aSketch.addLine(0, 0, 100, 100)
-aSketchLine2 = aSketch.addLine(0, 100, 100, 0)
-aSession.finishOperation()
-
-# Create a point on line
-aSession.startOperation()
-aPoint = model.addPoint(aDocument, aSketchLine1.result()[0], 25, True, False)
-aSession.finishOperation()
-assert (len(aPoint.result()) > 0)
-
-# Create plane
-aSession.startOperation()
-aPlane = model.addPlane(aDocument, 1, 1, 1, 1)
-aSession.finishOperation()
-
-# Create a point by projection
-aSession.startOperation()
-aPoint = model.addPoint(aDocument, aPoint.result()[0], aPlane.result()[0])
-aSession.finishOperation()
-assert (len(aPoint.result()) > 0)
-
-# Create a point by lines intersection
-aSession.startOperation()
-aPoint = model.addPoint(aDocument, aSketchLine1.result()[0], aSketchLine2.result()[0])
-aSession.finishOperation()
-assert (len(aPoint.result()) > 0)
-
-# Create a point by line and plane intersection
-aSession.startOperation()
-aPoint = model.addPoint(aDocument, aSketchLine1.result()[0], aPlane.result()[0])
-aSession.finishOperation()
-assert (len(aPoint.result()) > 0)
+# # Create a sketch with lines
+# aSession.startOperation()
+# anOrigin = GeomAPI_Pnt(0, 0, 0)
+# aDirX = GeomAPI_Dir(1, 0, 0)
+# aNorm = GeomAPI_Dir(0, 0, 1)
+# aSketch = model.addSketch(aDocument, GeomAPI_Ax3(anOrigin, aDirX, aNorm))
+# aSketchLine1 = aSketch.addLine(0, 0, 100, 100)
+# aSketchLine2 = aSketch.addLine(0, 100, 100, 0)
+# aSession.finishOperation()
+#
+# # Create a point on line
+# aSession.startOperation()
+# aPoint = model.addPoint(aDocument, aSketchLine1.result()[0], 25, True, False)
+# aSession.finishOperation()
+# assert (len(aPoint.result()) > 0)
+#
+# # Create plane
+# aSession.startOperation()
+# aPlane = model.addPlane(aDocument, 1, 1, 1, 1)
+# aSession.finishOperation()
+#
+# # Create a point by projection
+# aSession.startOperation()
+# aPoint = model.addPoint(aDocument, aPoint.result()[0], aPlane.result()[0])
+# aSession.finishOperation()
+# assert (len(aPoint.result()) > 0)
+#
+# # Create a point by lines intersection
+# aSession.startOperation()
+# aPoint = model.addPoint(aDocument, aSketchLine1.result()[0], aSketchLine2.result()[0])
+# aSession.finishOperation()
+# assert (len(aPoint.result()) > 0)
+#
+# # Create a point by line and plane intersection
+# aSession.startOperation()
+# aPoint = model.addPoint(aDocument, aSketchLine1.result()[0], aPlane.result()[0])
+# aSession.finishOperation()
+# assert (len(aPoint.result()) > 0)