HostUtils.CheckForRdk Method

HostUtilsCheckForRdk Method

Determines if the RDK is loaded.

Namespace:  Rhino.Runtime
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static bool CheckForRdk(
	bool throwOnFalse,
	bool usePreviousResult
)
Public Shared Function CheckForRdk ( 
	throwOnFalse As Boolean,
	usePreviousResult As Boolean
) As Boolean

Parameters

throwOnFalse
Type: SystemBoolean
if the RDK is not loaded, then throws a RdkNotLoadedException.
usePreviousResult
Type: SystemBoolean
if true, then the last result can be used instaed of performing a full check.

Return Value

Type: Boolean
true if the RDK is loaded; false if the RDK is not loaded. Note that the RdkNotLoadedException will hinder the retrieval of any return value.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.14
See Also