Salome HOME
b2cea88036fa7428ed3224bcde1b87cbe0906bfe
[modules/shaper.git] / src / PythonAPI / model / sketcher / entity.py
1
2 from model.roots import Interface
3
4 class Entity(Interface):
5     """Interface for editing of a sketch entity feature."""
6
7     def __init__(self, feature):
8         Interface.__init__(self, feature)
9
10         # Initialize attributes
11         self._auxiliary = self._feature.boolean("Auxiliary")
12
13     def setAuxiliary(self, a):
14         """Set the Auxiliarity."""
15         self._auxiliary.setValue(a)