def default(self, cls=None):
    if (self['default'] is not None):
        default = self['default']
        if (not isinstance(default, (tuple, list))):
            default = ((default,) * 3)
    elif (cls is not None):
        default = cls.defaults.get(self['name'], self.Default)
    else:
        default = self.Default
    children = list()
    for (index, child) in enumerate('XYZ'):
        attribute = self.Fn.create((self['name'] + child), (self['shortName'] + child), om.MFnNumericData.kDouble, default[index])
        children.append(attribute)
    return children
def default(self, cls=None):
    if (self['default'] is not None):
        default = self['default']
        if (not isinstance(default, (tuple, list))):
            default = ((default,) * 3)
    elif (cls is not None):
        default = cls.defaults.get(self['name'], self.Default)
    else:
        default = self.Default
    children = list()
    for (index, child) in enumerate('XYZ'):
        attribute = self.Fn.create((self['name'] + child), (self['shortName'] + child), om.MFnNumericData.kDouble, default[index])
        children.append(attribute)
    return children