def AddProperty(self, name, _type, animatable=True, user=True):
        
        if self.ListProperties(pattern=name):
            raise Exception("Can not add property '%s'. Already exists on object '%'" % (name, self))
        try:
            typeData = self.kPropertyTypes[_type]
        except KeyError:
            raise Exception("Invalid property type '%s'. Valid types are: '%s'" % (_type, ', '.join(self.kPropertyTypes.keys())))
        
        typeData.extend([animatable, user, None])
        
        self.component.PropertyCreate(name, *typeData)
Add a property to this component
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/moBu/site-packages/PyMoBu-0.2/pymobu/components/__init__.py/PMBComponent.AddProperty