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

public static string FormatLineValidity( Line val, string identifier = "Line" )
Public Shared Function FormatLineValidity ( val As Line, Optional identifier As String = "Line" ) As String
Parameters
- val
- Type: Line
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 line is invalid or String.Empty if the value is not invalid.
