Cinema 4D Paths

Detailed Description

Groups

 C4D_PATH
 

Functions

const Filename GeGetStartupPath ()
 
const Filename GeGetStartupApplication ()
 
const Filename GeGetStartupWritePath ()
 
const Filename GeGetPluginPath ()
 
Filename GeGetPluginResourcePath ()
 
const Filename GeGetC4DPath (Int32 whichpath)
 

Function Documentation

◆ GeGetStartupPath()

const Filename GeGetStartupPath ( )

Gets the path for the main folder of Cinema 4D.

Returns
The main path of Cinema 4D application.

◆ GeGetStartupApplication()

const Filename GeGetStartupApplication ( )

Gets the complete path of the host application (Cinema 4D, BodyPaint 3D, NET).

Returns
The complete path to the host application.

◆ GeGetStartupWritePath()

const Filename GeGetStartupWritePath ( )

Gets the writable startup directory.
This is the directory where all user data (preferences, libraries etc.) are stored.

Note
Use this for instance to store plugin preferences because Windows and Apple do not allow to write files into the application folder.
Returns
The writable startup directory.

◆ GeGetPluginPath()

const Filename GeGetPluginPath ( )

Gets the path for a plugin's main folder.

Returns
The path for the plugin that called this function.

◆ GeGetPluginResourcePath()

Filename GeGetPluginResourcePath ( )

Gets the resource path for a plugin's main folder.

Since
R16
Returns
The resource path for the plugin that called this function.

◆ GeGetC4DPath()

const Filename GeGetC4DPath ( Int32  whichpath)

Gets one of the Cinema 4D paths.

Parameters
[in]whichpathThe path to get: C4D_PATH
Returns
The retrieved Cinema 4D path.