Skip to content

Instantly share code, notes, and snippets.

@990adjustments
Created February 21, 2012 23:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 990adjustments/1879717 to your computer and use it in GitHub Desktop.
Save 990adjustments/1879717 to your computer and use it in GitHub Desktop.
A python Cinema 4D script that offers a quick way to open the Cinema 4D user preferences folder without having to go through the Preferences dialog. Make sure to make it a button on your shelf!
"""
OpenPrefs
Copyright: Erwin Santacruz, www.990adjustments.com
Written for CINEMA 4D R12.016
Name-US: OpenPrefs
Description-US: Open the Cinema 4D user preferences folder.
Make it a button for quick access.
Script tested on OS X 10.6.4 and Cinema 4D versions:
CINEMA 4D R12.016
CINEMA 4D R12.032
Creation Date: 02/21/2012
"""
import c4d
from c4d import storage
def main():
storage.ShowInFinder(storage.GeGetC4DPath(c4d.C4D_PATH_PREFS))
if __name__=='__main__':
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment