def default(self, cls=None):
    default = super(Distance, self).default(cls)
    if (not isinstance(default, om.MDistance)):
        default = om.MDistance(default, om.MDistance.kCentimeters)
    return default
def default(self, cls=None):
    default = super(Distance, self).default(cls)
    if (not isinstance(default, om.MDistance)):
        default = om.MDistance(default, om.MDistance.kCentimeters)
    return default