The Maxon SDK Team is currently short staffed due to the winter holidays. No forum support is being provided between 15/12/2025 and 5/1/2026. For details see Maxon SDK 2025 Winter Holidays.
How to get Preferences folder path?
-
Hi,
I want to get Preferences folder path of my c4d.
Thanks for any help! -
Hi @chuanzhen from Cinema 4D you can retrieve preference it using the maxon module (the future proof way)
- maxon.Application.GetUrl(maxon.APPLICATION_URLTYPE.PREFS_DIR).GetSystemPath()
Using the classic API (better for back-compatibility)
- c4d.storage.GeGetStartupWritePath()
And finally if you are not within Cinema 4D you can compute it with Cinema 4D path, as demonstrated in retrieves_temp_folder_r17.py
Cheers,
Maxime. -
@m_adam Great, thank you!