Grasshopper API
GH_IWriterRemoveChunk Method (String, Int32) |
Remove the first chunk with a matching name and index.
Only chunks with index qualifiers are considered.
Name comparisons are not case-sensitive.
Namespace: GH_IO.Serialization
Assembly: GH_IO (in GH_IO.dll)

bool RemoveChunk( string chunk_name, int chunk_index )
Function RemoveChunk ( chunk_name As String, chunk_index As Integer ) As Boolean
Parameters
- chunk_name
- Type: SystemString
Name of chunk to remove. - chunk_index
- Type: SystemInt32
Index of chunk to remove.
Return Value
Type: BooleanTrue is chunk was removed, false if no matching chunk could be found.
