Show three base planes (XY, YZ, XZ) at the beginning of the feature tree and allow to create sketches on them

This commit is contained in:
jrheinlaender
2013-04-01 20:36:41 +04:30
committed by Stefan Tröger
parent 7dee0b7018
commit 417576d5eb
6 changed files with 167 additions and 102 deletions

View File

@@ -102,6 +102,16 @@ void Workbench::activated()
"Part_Box"
));
const char* Plane[] = {
"PartDesign_NewSketch",
0};
Watcher.push_back(new Gui::TaskView::TaskWatcherCommands(
"SELECT App::Plane COUNT 1",
Plane,
"Start Part",
"Part_Box"
));
const char* NoSel[] = {
"PartDesign_Body",
0};