diff --git a/src/Mod/Arch/ArchSectionPlane.py b/src/Mod/Arch/ArchSectionPlane.py index 4b3df7f610..9e9e1576e3 100644 --- a/src/Mod/Arch/ArchSectionPlane.py +++ b/src/Mod/Arch/ArchSectionPlane.py @@ -85,7 +85,8 @@ def makeSectionPlane(objectslist=None,name="Section"): def makeSectionView(section,name="View"): - """makeSectionView(section) : Creates a Drawing view of the given Section Plane + """OBSOLETE + makeSectionView(section) : Creates a Drawing view of the given Section Plane in the active Page object (a new page will be created if none exists""" page = None diff --git a/src/Mod/Arch/TestArch.py b/src/Mod/Arch/TestArch.py index 07c07b974c..8083e54ebf 100644 --- a/src/Mod/Arch/TestArch.py +++ b/src/Mod/Arch/TestArch.py @@ -604,7 +604,7 @@ class ArchTest(unittest.TestCase): def testSection(self): App.Console.PrintLog ('Checking Arch Section...\n') s = Arch.makeSectionPlane([]) - v = Arch.makeSectionView(s) + #v = Arch.makeSectionView(s) # obsolete, uses the Drawing module self.failUnless(v,"Arch Section failed") def testSpace(self):