This documentation is for the free plugin Py4D in CINEMA 4D R11.5 and not for the C4DSDK of Python in CINEMA 4D R12. For R12, please visit PluginCafe.com
This class is used for accessing resource files on the harddrive, for example to load dialog resources or to access string tables.
Initialise the resources from their files in the res folder. The filename path must be the root directory of the plugin’s folder.
| Parameter: | path (str) – The root directory of the plugin’s folder to find the res folder. |
|---|---|
| Return type: | bool |
| Returns: | Success of initialising. |
Lets you access the CINEMA 4D main application string resource.
| Return type: | bool |
|---|---|
| Returns: | Success of initialising. |
Load a string with the ID from the string resource file.
See also
| Parameter: | id (int) – The ID for the string in the resource file. |
|---|---|
| Return type: | bool |
| Returns: | Success of initialising. |