GH_RuntimeFile
ReferencesRuntime representation of a Grasshopper help file. A GH_RuntimeFile is nothing more than a collection of keywords with associated content. This class does not interpret a file or check its validity, it merely figures out the different content section based on "Keyword:" entries.
Fields
TagIntermediate
#String tag used t o identify Intermediate Level Help Content in documentation source files.
TagPronunciation
#String tag used to identify Pronunciaion Guide fields (IPA) in glossary source files.
Properties
Tags
#Gets a collection of all the pre-defined keywords. Use IsKeyword(string) if you want to know whether a string equals a keyword. It's both faster and more reliable than comparing against this collection.
Indexers
Methods
ContainsKey
#Test whether a certain key is present in the File.
Returns: True if the key is present in the file, false if not.
IsTag
#Tests whether a string is a predefined Grasshopper Help keyword.
Returns: True if text is a predefined keyword, false if not.
IsTagLine
#Tests whether a line of text starts with a Grasshopper Help keyword.
Returns: True if the line starts with a keyword.
ParseFile
#Parse a file and return the runtime representation of said file.
Returns: The runtime representation of the file on the disk.