To get an overview of the class members, check out the diagram.
Open a load dialog. The look of this dialog depends on the operating system.

| Parameters: |
|
||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Return type: | str or None |
||||||||||
| Returns: | The path or None if the user aborted. |
Open a save dialog. The look of this dialog depends on the operating system.

| Parameters: |
|
||||||||
|---|---|---|---|---|---|---|---|---|---|
| Return type: | str or None |
||||||||
| Returns: | The path or None if the user aborted. |
Show the file/path in the Finder (OSX) or Explorer (Windows).
| Parameter: | path (str) – The file/path to show. |
|---|---|
| Return type: | bool |
| Returns: | True if the path/file exists, otherwise False. |
Returns the path to the Py4D plugin.
| Return type: | str |
|---|---|
| Returns: | The complete path to Py4D. |
Gets one of the CINEMA 4D paths.
| Parameter: | whichpath (int) – The path to get:
|
||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Return type: | str | ||||||||||||||||||
| Returns: | The complete path to Py4D. |
Returns the complete path of the host application (CINEMA 4D, BODYPAINT 3D, NET) of the plugin.
| Return type: | str |
|---|---|
| Returns: | The complete path to the host application. |
Returns the writeable startup directory. This is the directory where all user data (preferences, libraries etc.) are stored.
Note
Use this for example to store plugin preferences because Windows Vista and Apple Leopard do not allow to write files into the application folder.
| Return type: | str |
|---|---|
| Returns: | The writeable startup directory. |
Get the path for the main folder CINEMA.
| Return type: | str |
|---|---|
| Returns: | The main path for the CINEMA application. |
Execute an application.
Note
The application will be started asynchronous.
| Parameters: |
|
|---|---|
| Return type: | bool |
| Returns: | Success of executing the application. |
Execute a file with a defined application.
| Parameter: | path (str) – The name of the application to execute. |
|---|---|
| Return type: | bool |
| Returns: | Success of executing the application. |