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.
Parameters:
| key (string) | Key to search for. |
Returns: True if the key is present in the file, false if not.
IsTag
#Tests whether a string is a predefined Grasshopper Help keyword.
Parameters:
| text (string) | String to test. Should contain no whitespace, but does not need to properly cased. |
Returns: True if text is a predefined keyword, false if not.
IsTagLine
#Tests whether a line of text starts with a Grasshopper Help keyword.