ModelAPI_AttributeRefAttr>(aData->attribute(SketchPlugin_Constraint::ENTITY_B()));
aRef2->setObject(theObject);
- aFeature->execute();
+ Events_Loop::loop()->flush(Events_Loop::eventByName(EVENT_OBJECT_CREATED));
}
void PartSet_WidgetPoint2D::onMouseRelease(ModuleBase_IViewWindow* theWnd, QMouseEvent* theEvent)
aRefAttrB.setAttr(aLine.attribute("StartPoint"))
# Flags which show horizontal or vertical constraint is build for correponding line
self.__isHV = [False, False, False, False]
- # Update coordinates of created lines
- self.updateLines()
+ # Update coordinates of created lines
+ self.updateLines()
# Add horizontal and vertical constraint for the lines which already have result
for i in range (0, aNbLines):
if self.__isHV[i]: