Cinema 4D Paths 函数

详细描述

Groups

  C4D_PATH

函数

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

Function Documentation

◆  GeGetStartupPath()

const Filename GeGetStartupPath ( void  )

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

返回
The main path of Cinema 4D application.

◆  GeGetStartupApplication()

const Filename GeGetStartupApplication ( void  )

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

返回
The complete path to the host application.

◆  GeGetStartupWritePath()

const Filename GeGetStartupWritePath ( void  )

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

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

◆  GeGetPluginPath()

const Filename GeGetPluginPath ( void  )

Gets the path for a plugin's main folder.

返回
The path for the plugin that called this function.

◆  GeGetPluginResourcePath()

Filename GeGetPluginResourcePath ( )

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

由于
R16
返回
The resource path for the plugin that called this function.

◆  GeGetC4DPath()

const Filename GeGetC4DPath ( Int32   whichpath )

Gets one of the Cinema 4D paths.

参数
[in] whichpath The path to get: C4D_PATH
返回
The retrieved Cinema 4D path.