This class is used for accessing resource files on the harddrive, for example to load dialog resources or to access string tables.
Create a new resource object.
Return type: | GeResource |
---|---|
Returns: | The new resource object. |
Initialise the resources from their files in the res folder. The filename path must be the root directory of the plugin’s folder.
Parameters: | 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
Parameters: | id (int) – The ID for the string in the resource file. |
---|---|
Return type: | bool |
Returns: | Success of initialising. |