thibaud-d
11/8/2014 - 7:49 AM

Look for "export_config.txt" in directory of current blend, then return file content as a string

Look for "export_config.txt" in directory of current blend, then return file content as a string

def outputDir():
    p = os.path.dirname(bpy.data.filepath)
    p = os.path.join(p,"export_config.txt")
    p = open(p,'r').read()
    return p;