Change DPG freature name from "cView" to "ProjGroup"
This commit is contained in:
parent
a6129b9198
commit
c0c4569546
|
@ -478,7 +478,7 @@ void CmdTechDrawProjGroup::activated(int iMsg)
|
|||
Gui::WaitCursor wc;
|
||||
|
||||
openCommand("Create Projection Group");
|
||||
std::string multiViewName = getUniqueObjectName("cView");
|
||||
std::string multiViewName = getUniqueObjectName("ProjGroup");
|
||||
std::string SourceName = (*shapes.begin())->getNameInDocument();
|
||||
doCommand(Doc,"App.activeDocument().addObject('TechDraw::DrawProjGroup','%s')",multiViewName.c_str());
|
||||
doCommand(Doc,"App.activeDocument().%s.addView(App.activeDocument().%s)",PageName.c_str(),multiViewName.c_str());
|
||||
|
|
Loading…
Reference in New Issue
Block a user