Skip to content

Instantly share code, notes, and snippets.

@eelstork
Created November 8, 2014 07:49
Show Gist options
  • Save eelstork/5f62e7a749fa2d022ebf to your computer and use it in GitHub Desktop.
Save eelstork/5f62e7a749fa2d022ebf to your computer and use it in GitHub Desktop.
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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment