Grasshopper API
GH_FormatFormatSurfaceValidity Method |
If the surface is invalid, return a string describing why.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public static string FormatSurfaceValidity( Surface val, string identifier = "Surface" )
Public Shared Function FormatSurfaceValidity ( val As Surface, Optional identifier As String = "Surface" ) As String
Parameters
- val
- Type: Surface
Value to format. - identifier (Optional)
- Type: SystemString
Name used to refer to the value in the format.
Return Value
Type: StringA string describing why the surface is invalid or String.Empty if the value is not invalid.
