load_attributes method

load_attributes

Load the attributes from specified file name

def load_attributes(self, scene, file_name, prefix):
    ...
ParameterTypeDescription
sceneSceneThe scene where the attributes will be applied to
file_namestrThe file’s name that contains the attributes
prefixstrThe prefix of the attributes that used to avoid conflict of names, default value is “rvm:”

load_attributes

Load the attributes from specified stream

def load_attributes(self, scene, stream, prefix):
    ...
ParameterTypeDescription
sceneSceneThe scene where the attributes will be applied to
streamio.RawIOBaseThe stream that contains the attributes
prefixstrThe prefix of the attributes that used to avoid conflict of names, default value is “rvm:”

See Also