--- /dev/null
+
+from model.roots import Interface
+
+class Entity(Interface):
+ """Interface for editing of a sketch entity feature."""
+
+ def __init__(self, feature):
+ Interface.__init__(self, feature)
+
+ # Initialize attributes
+ self._auxiliary = self._feature.boolean("Auxiliary")
+
+ def setAuxiliary(self, a):
+ """Set the Auxiliarity."""
+ self._auxiliary.setValue(a)
from model.roots import Interface
from model.errors import WrongNumberOfArguments
-class Line(Interface):
+from .entity import Entity
+
+class Line(Entity):
"""Interface for editing of a sketch line feature."""
def __init__(self, feature, *args):
- Interface.__init__(self, feature)
+ Entity.__init__(self, feature)
assert(self._feature.getKind() == "SketchLine")
# Initialize attributes