def createPoint(theSketchFeature):
aSketchPointFeature = theSketchFeature.addFeature("SketchPoint")
- aPointCoordindates = geomDataAPI_Point2D(aSketchPointFeature.attribute("PointCoordindates"))
- aPointCoordindates.setValue(random.uniform(0, 100), random.uniform(0, 100))
+ aPointCoordinates = geomDataAPI_Point2D(aSketchPointFeature.attribute("PointCoordinates"))
+ aPointCoordinates.setValue(random.uniform(0, 100), random.uniform(0, 100))
return aSketchPointFeature
# Get document
# Test results
assert (len(aVertexFeature.results()) == aNumOfPoints)
+
+from salome.shaper import model
+assert(model.checkPythonDump())