M_Rhino_RhinoApp_GetDataDirectory_1 - mcneel/rhinocommon-api-docs GitHub Wiki

RhinoApp.GetDataDirectory Method (Boolean, Boolean, String)

Gets the data directory.

Namespace: Rhino
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public static string GetDataDirectory(
	bool localUser,
	bool forceDirectoryCreation,
	string subDirectory
)

VB

Public Shared Function GetDataDirectory ( 
	localUser As Boolean,
	forceDirectoryCreation As Boolean,
	subDirectory As String
) As String

Parameters

 

localUser
Type: System.Boolean
If set to true local user.
forceDirectoryCreation
Type: System.Boolean
If set to true force directory creation.
subDirectory
Type: System.String
Sub directory, will get appended to the end of the data directory. if forceDirectoryCreation is true then this directory will get created and writable.

Return Value

Type: String
The data directory.

Version Information

Supported in: 5D58w

See Also

Reference

RhinoApp Class
GetDataDirectory Overload
Rhino Namespace

⚠️ **GitHub.com Fallback** ⚠️