def Insert(self, obj, ID=None): """ Insert cut to internal dict """ obj.color = self.color obj.dashed = True if ID is None: ID = self.activeID ID = DrawableManager.Insert(self, obj, ID) self.ActivateObject(ID) return ID
def Insert(self, fit, ID=None): fit.spec = self return DrawableManager.Insert(self, fit, ID)