Work on Gui of Datum features

This commit is contained in:
jrheinlaender
2013-04-15 21:04:27 +04:30
committed by Stefan Tröger
parent a1359fc9e9
commit d13560bea5
6 changed files with 390 additions and 36 deletions

View File

@@ -433,7 +433,7 @@ void CmdPartDesignPoint::activated(int iMsg)
QString refStr = getReferenceString(this);
PartDesign::Body *pcActiveBody = PartDesignGui::getBody();
openCommand("Create a datum plane");
openCommand("Create a datum point");
doCommand(Doc,"App.activeDocument().addObject('PartDesign::Point','%s')",FeatName.c_str());
if (refStr.length() > 0)
doCommand(Doc,"App.activeDocument().%s.References = %s",FeatName.c_str(),refStr.toStdString().c_str());