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