SOLVED Adding my own field to the Preference dialog

How can I add my own field (parameter) to the Preference dialog using python?

If you wish to expand the Preference dialog, you need to program a complete Preference plugin. See this documentation and the linked example:

https://developers.maxon.net/docs/Cinema4DPythonSDK/html/modules/c4d.plugins/index.html?highlight=preference#c4d.plugins.RegisterPreferencePlugin

Thank you.
I will look into it and try it.