GH_IReader

References
public interface GH_IReader : GH_IChunk
Provides access to a subset of GH_Chunk methods used for reading archives.

Properties

Archive

Gets a pointer to the archive that owns the Root of the tree this chunk belongs to.
GH_Archive Archive { get; }
inherited fromGH_IChunk

ArchiveLocation

Gets a string representing the URI with which the archive is associated. The location may be a null string.
string ArchiveLocation { get; }
inherited fromGH_IChunk

ChunkCount

Gets the number of child chunks contained in this chunk. The set of all child chunks is referred to as a 'litter'.
int ChunkCount { get; }
inherited fromGH_IChunk

Chunks

Gets a pointer to the internal list of child chunks. Do not access this list unless you know what you are doing.
List<GH_IChunk> Chunks { get; }
inherited fromGH_IChunk

Index

Gets the index of this chunk. The index is set by the owner of this chunk. Indices smaller than zero imply no index has been set. The combination of name+index is always unique among a set of chunks in the same litter.
int Index { get; }
inherited fromGH_IChunk

ItemCount

Gets the number of items contained in this chunk.
int ItemCount { get; }
inherited fromGH_IChunk

Items

Gets a pointer to the internal list of items. Do not access this list unless you know what you are doing.
List<GH_Item> Items { get; }
inherited fromGH_IChunk

Name

Gets the name of this chunk. The name is set by the owner of this chunk. Names must be at least 1 character long. The combination of name+index is always unique among a set of chunks in a single litter.
string Name { get; }
inherited fromGH_IChunk

Methods

AddMessage

Log a new message with the top-level archive. Messages are collected during read/write operations, and can be displayed to the user upon completion using GH_Archive.ShowMessageLog().
void AddMessage(
m,
Message text.
t
Message type.
)
inherited fromGH_IChunk

ChunkExists

#
Checks whether a chunk with the specified name and index exists in the litter. Only chunks with index qualifiers are considered. Name comparisons are not case-sensitive.
bool ChunkExists(
name,
Name of chunk to test for.
index
Index of chunk to test for. If less than zero, ChunkExists(string chunk_name) is called instead.
)
True if a chunk with the specified name and index exists, otherwise false.

ChunkExists

#
Checks whether a chunk with the specified name exists in the litter. Only chunks without index qualifiers are considered. Name comparisons are not case-sensitive.
bool ChunkExists(
name
Name of chunk to test for.
)
True if a chunk with the specified name exists, otherwise false.

FindChunk

#
Finds the first chunk in the list that matches the given name and index. Only chunks with index qualifiers are considered.
GH_IReader FindChunk(
name,
Name of chunk to search for.
index
Index of chunk to search for. If less than zero, FindChunk(string chunk_name) is called instead.
)
The child chunk that matches the given name and index, or null of no matching chunk could be found.

FindChunk

#
Finds the first chunk in the litter that matches the given name. Only chunks without index qualifiers are considered.
GH_IReader FindChunk(
name
Name of chunk to search for.
)
The child chunk that matches the given name, or null of no matching chunk could be found.

FindItem

#
Finds the first item that matches the given name and index. Only items with index qualifiers are considered. Name comparisons are not case-sensitive.
GH_Item FindItem(
name,
Name of item to search for.
index
Index of item to search for. If less than zero, then FindItem(string name) is called instead.
)
The item that matches the given name and index, or null of no matching item could be found.

FindItem

#
Finds the first item that matches the given name. Only items without index qualifiers are considered. Name comparisons are not case-sensitive.
GH_Item FindItem(
name
Name of item to search for.
)
The item that matches the given name, or null of no matching item could be found.

GetBoolean

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool GetBoolean(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetBoolean

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool GetBoolean(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetBoundingBox

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
GH_BoundingBox GetBoundingBox(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetBoundingBox

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
GH_BoundingBox GetBoundingBox(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetByte

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
byte GetByte(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetByte

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
byte GetByte(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetByteArray

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
byte[] GetByteArray(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetByteArray

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
byte[] GetByteArray(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetDate

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
DateTime GetDate(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetDate

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
DateTime GetDate(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetDecimal

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
decimal GetDecimal(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetDecimal

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
decimal GetDecimal(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetDouble

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
double GetDouble(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetDouble

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
double GetDouble(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetDoubleArray

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
double[] GetDoubleArray(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetDoubleArray

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
double[] GetDoubleArray(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetDrawingBitmap

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Bitmap GetDrawingBitmap(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetDrawingBitmap

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Bitmap GetDrawingBitmap(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetDrawingColor

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Color GetDrawingColor(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetDrawingColor

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Color GetDrawingColor(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetDrawingPoint

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Point GetDrawingPoint(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetDrawingPoint

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Point GetDrawingPoint(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetDrawingPointF

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
PointF GetDrawingPointF(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetDrawingPointF

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
PointF GetDrawingPointF(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetDrawingRectangle

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Rectangle GetDrawingRectangle(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetDrawingRectangle

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Rectangle GetDrawingRectangle(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetDrawingRectangleF

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
RectangleF GetDrawingRectangleF(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetDrawingRectangleF

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
RectangleF GetDrawingRectangleF(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetDrawingSize

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Size GetDrawingSize(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetDrawingSize

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Size GetDrawingSize(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetDrawingSizeF

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
SizeF GetDrawingSizeF(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetDrawingSizeF

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
SizeF GetDrawingSizeF(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetGuid

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
Guid GetGuid(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetGuid

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
Guid GetGuid(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetInt32

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
int GetInt32(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetInt32

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
int GetInt32(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetInt64

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
long GetInt64(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetInt64

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
long GetInt64(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetInterval1D

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
GH_Interval1D GetInterval1D(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetInterval1D

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
GH_Interval1D GetInterval1D(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetInterval2D

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
GH_Interval2D GetInterval2D(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetInterval2D

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
GH_Interval2D GetInterval2D(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetLine

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
GH_Line GetLine(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetLine

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
GH_Line GetLine(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetPath

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
string[] GetPath(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
basePath
Base path for relative path resolution.
)
An array of path strings. If the resolved relative path is different from the stored absolute path, two strings will be returned.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetPath

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
string[] GetPath(
item_name,
Name of item to retrieve.
basePath
Base path for relative path resolution.
)
An array of path strings. If the resolved relative path is different from the stored absolute path, two strings will be returned.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetPlane

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
GH_Plane GetPlane(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetPlane

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
GH_Plane GetPlane(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetPoint2D

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
GH_Point2D GetPoint2D(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetPoint2D

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
GH_Point2D GetPoint2D(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetPoint3D

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
GH_Point3D GetPoint3D(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetPoint3D

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
GH_Point3D GetPoint3D(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetPoint4D

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
GH_Point4D GetPoint4D(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetPoint4D

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
GH_Point4D GetPoint4D(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetSingle

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
float GetSingle(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetSingle

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
float GetSingle(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetString

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
string GetString(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetString

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
string GetString(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

GetVersion

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
GH_Version GetVersion(
item_name,
Name of item to retrieve.
item_index
Index of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name and index does not exist.

GetVersion

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
GH_Version GetVersion(
item_name
Name of item to retrieve.
)
The inner value of the item.
OverflowExceptionThrown if the type conversion fails.
InvalidCastExceptionThrown if the type conversion is invalid.
NullReferenceExceptionThrown if the item with the specified name does not exist.

ItemExists

#
Checks whether an item with the specified name and index exists. Only items with index qualifiers are considered. Name comparisons are not case-sensitive.
bool ItemExists(
name,
Name of item to test for.
index
Index of item to test for. If index is less than zero, then ItemExists(string name) is called instead.
)
True if an item with the specified name and index exists, otherwise false.

ItemExists

#
Checks whether an item with the specified name exists. Only items without index qualifiers are considered. Name comparisons are not case-sensitive.
bool ItemExists(
name
Name of item to test for.
)
True if an item with the specified name exists, otherwise false.

Read

Called when an object is required to deserialize itself.
void Read(
reader
Reader object to be used for deserialization.
)
inherited fromGH_IBinarySupport

Read

Called when an object is required to deserialize itself.
void Read(
node
Node object to be used for deserialization.
)
inherited fromGH_IXmlSupport

TryGetBoolean

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetBoolean(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
ref bool
value
Target of assignment.
)
True if the value was set.

TryGetBoolean

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetBoolean(
item_name,
Name of item to retrieve.
ref bool
value
Target of assignment.
)
True if the value was set.

TryGetBoundingBox

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetBoundingBox(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
value
Target of assignment.
)
True if the value was set.

TryGetBoundingBox

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetBoundingBox(
item_name,
Name of item to retrieve.
value
Target of assignment.
)
True if the value was set.

TryGetByte

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetByte(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
ref byte
value
Target of assignment.
)
True if the value was set.

TryGetByte

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetByte(
item_name,
Name of item to retrieve.
ref byte
value
Target of assignment.
)
True if the value was set.

TryGetDate

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetDate(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
value
Target of assignment.
)
True if the value was set.

TryGetDate

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetDate(
item_name,
Name of item to retrieve.
value
Target of assignment.
)
True if the value was set.

TryGetDecimal

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetDecimal(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
ref decimal
value
Target of assignment.
)
True if the value was set.

TryGetDecimal

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetDecimal(
item_name,
Name of item to retrieve.
ref decimal
value
Target of assignment.
)
True if the value was set.

TryGetDouble

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetDouble(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
ref double
value
Target of assignment.
)
True if the value was set.

TryGetDouble

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetDouble(
item_name,
Name of item to retrieve.
ref double
value
Target of assignment.
)
True if the value was set.

TryGetDrawingColor

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetDrawingColor(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
ref Color
value
Target of assignment.
)
True if the value was set.

TryGetDrawingColor

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetDrawingColor(
item_name,
Name of item to retrieve.
ref Color
value
Target of assignment.
)
True if the value was set.

TryGetDrawingPoint

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetDrawingPoint(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
ref Point
value
Target of assignment.
)
True if the value was set.

TryGetDrawingPoint

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetDrawingPoint(
item_name,
Name of item to retrieve.
ref Point
value
Target of assignment.
)
True if the value was set.

TryGetDrawingPointF

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetDrawingPointF(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
ref PointF
value
Target of assignment.
)
True if the value was set.

TryGetDrawingPointF

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetDrawingPointF(
item_name,
Name of item to retrieve.
ref PointF
value
Target of assignment.
)
True if the value was set.

TryGetDrawingRectangle

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetDrawingRectangle(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
ref Rectangle
value
Target of assignment.
)
True if the value was set.

TryGetDrawingRectangle

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetDrawingRectangle(
item_name,
Name of item to retrieve.
ref Rectangle
value
Target of assignment.
)
True if the value was set.

TryGetDrawingRectangleF

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetDrawingRectangleF(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
value
Target of assignment.
)
True if the value was set.

TryGetDrawingRectangleF

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetDrawingRectangleF(
item_name,
Name of item to retrieve.
value
Target of assignment.
)
True if the value was set.

TryGetDrawingSize

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetDrawingSize(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
ref Size
value
Target of assignment.
)
True if the value was set.

TryGetDrawingSize

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetDrawingSize(
item_name,
Name of item to retrieve.
ref Size
value
Target of assignment.
)
True if the value was set.

TryGetDrawingSizeF

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetDrawingSizeF(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
ref SizeF
value
Target of assignment.
)
True if the value was set.

TryGetDrawingSizeF

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetDrawingSizeF(
item_name,
Name of item to retrieve.
ref SizeF
value
Target of assignment.
)
True if the value was set.

TryGetGuid

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetGuid(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
ref Guid
value
Target of assignment.
)
True if the value was set.

TryGetGuid

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetGuid(
item_name,
Name of item to retrieve.
ref Guid
value
Target of assignment.
)
True if the value was set.

TryGetInt32

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetInt32(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
ref int
value
Target of assignment.
)
True if the value was set.

TryGetInt32

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetInt32(
item_name,
Name of item to retrieve.
ref int
value
Target of assignment.
)
True if the value was set.

TryGetInt64

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetInt64(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
ref long
value
Target of assignment.
)
True if the value was set.

TryGetInt64

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetInt64(
item_name,
Name of item to retrieve.
ref long
value
Target of assignment.
)
True if the value was set.

TryGetInterval1D

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetInterval1D(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
value
Target of assignment.
)
True if the value was set.

TryGetInterval1D

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetInterval1D(
item_name,
Name of item to retrieve.
value
Target of assignment.
)
True if the value was set.

TryGetInterval2D

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetInterval2D(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
value
Target of assignment.
)
True if the value was set.

TryGetInterval2D

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetInterval2D(
item_name,
Name of item to retrieve.
value
Target of assignment.
)
True if the value was set.

TryGetLine

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetLine(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
ref GH_Line
value
Target of assignment.
)
True if the value was set.

TryGetLine

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetLine(
item_name,
Name of item to retrieve.
ref GH_Line
value
Target of assignment.
)
True if the value was set.

TryGetPlane

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetPlane(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
value
Target of assignment.
)
True if the value was set.

TryGetPlane

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetPlane(
item_name,
Name of item to retrieve.
value
Target of assignment.
)
True if the value was set.

TryGetPoint2D

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetPoint2D(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
value
Target of assignment.
)
True if the value was set.

TryGetPoint2D

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetPoint2D(
item_name,
Name of item to retrieve.
value
Target of assignment.
)
True if the value was set.

TryGetPoint3D

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetPoint3D(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
value
Target of assignment.
)
True if the value was set.

TryGetPoint3D

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetPoint3D(
item_name,
Name of item to retrieve.
value
Target of assignment.
)
True if the value was set.

TryGetPoint4D

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetPoint4D(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
value
Target of assignment.
)
True if the value was set.

TryGetPoint4D

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetPoint4D(
item_name,
Name of item to retrieve.
value
Target of assignment.
)
True if the value was set.

TryGetSingle

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetSingle(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
ref float
value
Target of assignment.
)
True if the value was set.

TryGetSingle

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetSingle(
item_name,
Name of item to retrieve.
ref float
value
Target of assignment.
)
True if the value was set.

TryGetString

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetString(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
ref string
value
Target of assignment.
)
True if the value was set.

TryGetString

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetString(
item_name,
Name of item to retrieve.
ref string
value
Target of assignment.
)
True if the value was set.

TryGetVersion

#
Gets the value of the item with the specified name and index. Name comparison is not case-sensitive.
bool TryGetVersion(
item_name,
Name of item to retrieve.
item_index,
Index of item to retrieve.
value
Target of assignment.
)
True if the value was set.

TryGetVersion

#
Gets the value of the item with the specified name. Name comparison is not case-sensitive.
bool TryGetVersion(
item_name,
Name of item to retrieve.
value
Target of assignment.
)
True if the value was set.

Write

Called when an object is required to serialize itself.
void Write(
writer
Writer object to be used for serialization.
)
inherited fromGH_IBinarySupport

Write

Called when an object is required to serialize itself.
void Write(
writer
Writer object to be used for serialization.
)
inherited fromGH_IXmlSupport