Grasshopper API
GH_ChunkGetPath Method (String, String) |
Gets the value of the item with the specified name.
Name comparison is not case-sensitive.
Namespace: GH_IO.Serialization
Assembly: GH_IO (in GH_IO.dll)

public string[] GetPath( string item_name, string basePath )
Public Function GetPath ( item_name As String, basePath As String ) As String()
Parameters
- item_name
- Type: SystemString
Name of item to retrieve. - basePath
- Type: SystemString
Base path for relative path resolution.
Return Value
Type: StringAn array of path strings. If the resolved relative path is different from the stored absolute path, an array of two strings will be returned [absolute, relative].
Implements
GH_IReaderGetPath(String, String)
Exception | Condition |
---|---|
OverflowException | Thrown if the type conversion fails. |
InvalidCastException | Thrown if the type conversion is invalid. |
NullReferenceException | Thrown if the item with the specified name does not exist. |
