Grasshopper API
GH_ChunkChunkKeyedCollectionTryGetValue Method |
Try and find the chunk that belongs to a given ID.
Namespace: GH_IO.Serialization
Assembly: GH_IO (in GH_IO.dll)

public bool TryGetValue( ID id, out GH_Chunk chunk )
Public Function TryGetValue ( id As ID, <OutAttribute> ByRef chunk As GH_Chunk ) As Boolean
Parameters
- id
- Type: GH_IO.SerializationID
ID to look for. - chunk
- Type: GH_IO.SerializationGH_Chunk
Chunk result.
Return Value
Type: BooleanTrue is a chunk was found, false if otherwise.
