Arch: Section planes can now also include Draft stuff (dimensions, etc)

This commit is contained in:
Yorik van Havre
2016-10-31 11:10:08 -02:00
parent 23c4faf1e9
commit 4ee8a2a53d
3 changed files with 51 additions and 26 deletions

View File

@@ -106,8 +106,11 @@ App::DocumentObjectExecReturn *DrawViewArch::execute(void)
<< ",renderMode=\"" << RenderMode.getValue() << "\""
<< ",showHidden=" << (ShowHidden.getValue() ? "True" : "False")
<< ",showFill=" << (ShowFill.getValue() ? "True" : "False")
<< ",scale=" << Scale.getValue()
<< ",linewidth=" << LineWidth.getValue()
<< ",fontsize=" << FontSize.getValue();
<< ",fontsize=" << FontSize.getValue()
<< ",techdraw=True";
Base::Interpreter().runString("import ArchSectionPlane");
Base::Interpreter().runStringArg("svgBody = ArchSectionPlane.getSVG(App.activeDocument().%s %s)",
SourceName.c_str(),paramStr.str().c_str());