def SetWorldUpType(self, _type):
        '''Sets the world up type'''
        try:
            self.component.PropertyList.Find("WorldUpType").Data = self.kWorldUpType[_type]
        except KeyError:
            raise Exception("Invalid world up type '%s'" % _type)
dataset/ETHPy150Open CountZer0/PipelineConstructionSet/python/moBu/site-packages/PyMoBu-0.2/pymobu/components/constraints.py/PMBAimConstraint.SetWorldUpType/original