# Date : 30/11/2001
# Modified by : Alexander BORODIN (OCN) - autotools usage
#
-SUBDIRS = salome docutils
+#SUBDIRS = salome docutils
+SUBDIRS = salome
usr_docs:
(cd salome && $(MAKE) $(AM_MAKEFLAGS) usr_docs)
logger = Logger("salome.geom.geomtools", color = termcolor.RED)
from salome.kernel.studyedit import getActiveStudyId, getStudyEditor
-from salome.gui.helper import getSObjectSelected
+from salome.gui import helper
from salome.kernel.services import IDToObject
_geompys = {}
if GEOM is None:
GEOM = __import__("GEOM")
if studyEditor is None:
- studyEditor = getStudyEditor()
+ studyEditor = helper.getStudyEditor()
self.editor = studyEditor
def displayShapeByName(self, shapeName, color = None):
'''
Returns the GEOM object currently selected in the objects browser.
'''
- sobject, entry = getSObjectSelected()
+ sobject, entry = helper.getSObjectSelected()
geomObject = self.getGeomObjectFromEntry(entry)
return geomObject