PartDesign: replace part design datum commands by the core ones
This commit is contained in:
committed by
Max Wilfinger
parent
08c1275ec4
commit
4c25c96d75
@@ -169,10 +169,10 @@ void Workbench::activated()
|
||||
std::vector<Gui::TaskView::TaskWatcher*> Watcher;
|
||||
|
||||
const char* Vertex[] = {
|
||||
"PartDesign_Point",
|
||||
"PartDesign_Line",
|
||||
"PartDesign_Plane",
|
||||
"PartDesign_CoordinateSystem",
|
||||
"Part_DatumPoint",
|
||||
"Part_DatumLine",
|
||||
"Part_DatumPlane",
|
||||
"Part_CoordinateSystem",
|
||||
nullptr};
|
||||
Watcher.push_back(new Gui::TaskView::TaskWatcherCommands(
|
||||
"SELECT Part::Feature SUBELEMENT Vertex COUNT 1..",
|
||||
@@ -184,10 +184,10 @@ void Workbench::activated()
|
||||
const char* Edge[] = {
|
||||
"PartDesign_Fillet",
|
||||
"PartDesign_Chamfer",
|
||||
"PartDesign_Point",
|
||||
"PartDesign_Line",
|
||||
"PartDesign_Plane",
|
||||
"PartDesign_CoordinateSystem",
|
||||
"Part_DatumPoint",
|
||||
"Part_DatumLine",
|
||||
"Part_DatumPlane",
|
||||
"Part_CoordinateSystem",
|
||||
nullptr};
|
||||
Watcher.push_back(new Gui::TaskView::TaskWatcherCommands(
|
||||
"SELECT Part::Feature SUBELEMENT Edge COUNT 1..",
|
||||
@@ -202,10 +202,10 @@ void Workbench::activated()
|
||||
"PartDesign_Chamfer",
|
||||
"PartDesign_Draft",
|
||||
"PartDesign_Thickness",
|
||||
"PartDesign_Point",
|
||||
"PartDesign_Line",
|
||||
"PartDesign_Plane",
|
||||
"PartDesign_CoordinateSystem",
|
||||
"Part_DatumPoint",
|
||||
"Part_DatumLine",
|
||||
"Part_DatumPlane",
|
||||
"Part_CoordinateSystem",
|
||||
nullptr};
|
||||
Watcher.push_back(new Gui::TaskView::TaskWatcherCommands(
|
||||
"SELECT Part::Feature SUBELEMENT Face COUNT 1",
|
||||
@@ -236,10 +236,10 @@ void Workbench::activated()
|
||||
|
||||
const char* Plane1[] = {
|
||||
"PartDesign_NewSketch",
|
||||
"PartDesign_Plane",
|
||||
"PartDesign_Line",
|
||||
"PartDesign_Point",
|
||||
"PartDesign_CoordinateSystem",
|
||||
"Part_DatumPoint",
|
||||
"Part_DatumLine",
|
||||
"Part_DatumPlane",
|
||||
"Part_CoordinateSystem",
|
||||
nullptr};
|
||||
Watcher.push_back(new Gui::TaskView::TaskWatcherCommands(
|
||||
"SELECT App::Plane COUNT 1",
|
||||
@@ -249,10 +249,10 @@ void Workbench::activated()
|
||||
));
|
||||
const char* Plane2[] = {
|
||||
"PartDesign_NewSketch",
|
||||
"PartDesign_Point",
|
||||
"PartDesign_Line",
|
||||
"PartDesign_Plane",
|
||||
"PartDesign_CoordinateSystem",
|
||||
"Part_DatumPoint",
|
||||
"Part_DatumLine",
|
||||
"Part_DatumPlane",
|
||||
"Part_CoordinateSystem",
|
||||
nullptr};
|
||||
Watcher.push_back(new Gui::TaskView::TaskWatcherCommands(
|
||||
"SELECT PartDesign::Plane COUNT 1",
|
||||
@@ -262,9 +262,9 @@ void Workbench::activated()
|
||||
));
|
||||
|
||||
const char* Line[] = {
|
||||
"PartDesign_Point",
|
||||
"PartDesign_Line",
|
||||
"PartDesign_Plane",
|
||||
"Part_DatumPoint",
|
||||
"Part_DatumLine",
|
||||
"Part_DatumPlane",
|
||||
nullptr};
|
||||
Watcher.push_back(new Gui::TaskView::TaskWatcherCommands(
|
||||
"SELECT PartDesign::Line COUNT 1",
|
||||
@@ -274,10 +274,10 @@ void Workbench::activated()
|
||||
));
|
||||
|
||||
const char* Point[] = {
|
||||
"PartDesign_Point",
|
||||
"PartDesign_Line",
|
||||
"PartDesign_Plane",
|
||||
"PartDesign_CoordinateSystem",
|
||||
"Part_DatumPoint",
|
||||
"Part_DatumLine",
|
||||
"Part_DatumPlane",
|
||||
"Part_CoordinateSystem",
|
||||
nullptr};
|
||||
Watcher.push_back(new Gui::TaskView::TaskWatcherCommands(
|
||||
"SELECT PartDesign::Point COUNT 1",
|
||||
|
||||
Reference in New Issue
Block a user