- def createFeature(self, theFeatureID):
- if theFeatureID == PythonFeaturesPlugin_Box.ID():
- return PythonFeaturesPlugin_Box()
- else:
- raise StandardError("No such feature %s"%theFeatureID)
+ def __init__(self):
+ ModelAPI.ModelAPI_Plugin.__init__(self)
+ pass
+
+ def createFeature(self, theFeatureID):
+ if theFeatureID == PythonFeaturesPlugin_Box.ID():
+ return PythonFeaturesPlugin_Box().__disown__()
+ else:
+ raise StandardError("No such feature %s" % theFeatureID)