RhinoCommon API
RhinoAppGetDataDirectory Method (Boolean, Boolean, String) |
Gets the data directory.
Namespace: Rhino
Assembly: RhinoCommon (in RhinoCommon.dll)
public static string GetDataDirectory( bool localUser, bool forceDirectoryCreation, string subDirectory )
Public Shared Function GetDataDirectory ( localUser As Boolean, forceDirectoryCreation As Boolean, subDirectory As String ) As String
Parameters
- localUser
- Type: SystemBoolean
If set to true local user. - forceDirectoryCreation
- Type: SystemBoolean
If set to true force directory creation. - subDirectory
- Type: SystemString
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: StringThe data directory.