Utility Class |
Namespace: Grasshopper
The Utility type exposes the following members.
| Name | Description | |
|---|---|---|
| DocumentAngleTolerance |
Returns the Angle Tolerance in degrees for the model document
| |
| DocumentTolerance |
Returns the Absolute Tolerance of the model document
| |
| DocumentUnits |
Returns the unit system for the model document
| |
| FixNewlines(String) |
Make sure all newlines in a string adhere to the current platform standard.
| |
| FixNewlines(String, String) |
Make sure all newlines in a string have a specific pattern.
| |
| InvokeDownloader |
Start an asynchronous download operation.
The download runs in a separate appdomain. After triggering that process this method returns immediately.
| |
| InvokeGetter |
Call a getter property via its name.
| |
| InvokeGetterSafe |
Call a getter property via its name. No exceptions are thrown.
| |
| InvokeMethod(Object, String) |
Call a method via its name.
| |
| InvokeMethod(Object, String, Object) |
Call a method via its name.
| |
| InvokeMethodSafe(Object, String) |
Call a method via its name. No exceptions are thrown.
| |
| InvokeMethodSafe(Object, String, Object) |
Call a method via its name. No exceptions are thrown.
| |
| InvokeSetter |
Call a setter property via its name.
| |
| InvokeSetterSafe |
Call a setter property via its name. No exceptions are thrown.
| |
| LikeOperator |
Exposes the VB.NET Like operator as a static method.
| |
| SetDefaultTolerances |
Utility function to set absolute and angle tolerance fields.
| |
| SetDefaultUnits |
Utility function to set model unit fields
| |
| TernaryIfT | Obsolete.
Type safe implementation of the IIf conditional statement.
|