GH_Archive Properties |
The GH_Archive type exposes the following members.
Name | Description | |
---|---|---|
FileName |
Gets the filename (without extension) of the currently loaded data tree.
If the path field has not been set, "unnamed" is returned.
| |
GetRootNode |
Gets the root node of this archive.
Typically you do not need to modify the Root.
Use functions like CreateTopLevelNode(), AppendObject() and ExtractObject() instead.
If you modify the Root node, you may corrupt the archive.
| |
GH_IO_Version |
Gets the version number of the current GH_IO build.
| |
GrasshopperBinaryExtension |
Gets the file extension (including the dot) associated with Grasshopper® Binary data.
| |
GrasshopperUserExtension |
Gets the file extension (including the dot) associated with Grasshopper® User Object file.
| |
GrasshopperXmlExtension |
Gets the file extension (including the dot) associated with Grasshopper® XML data.
| |
IsBinaryPath |
Gets a value that indicates whether the Path field points to a Binary Grasshopper file.
| |
IsPath |
Gets a value that indicates whether or not the path field has been set.
| |
IsXmlPath |
Gets a value that indicates whether the Path field points to an Xml Grasshopper file.
| |
Messages |
Gets the internal list of messages.
| |
Path |
Gets the path to the file from which this archive was read and/or written to.
If the archive hasn't been read or written yet, this field will be null.
| |
WorstCaseMessageType |
Gets the worst case message type.
If the record contains at least 1 error, the worst case is GH_Message_Type.error.
If the record contains no errors, but at least 1 warning,
the worst case is GH_Message_Type.warning.
If the record contains no messages or only infos, the worst case type is GH_Message_Type.info.
|