Constructors
Properties
Methods
FileNames
#Enumerate over all files that match a pattern. This includes not-yet-cached files which are nevertheless on the disc, as well as in-memory-only files which haven't (yet) been written to the disc.
Parameters:
| pattern (string = "*") |
Returns: An enumeration of filenames + extensions. Note that this does not return full paths.
GetBytes
#Gets the contents of a binary file in this folder.
Parameters:
| name (string) | Name of binary file. If no extension is included, '.dat' is assumed. |
GetSettings
#Gets a settings file in this folder. Settings files are strongly-typed binary files which use the GrasshopperIO serialisation library.
Parameters:
| name (string) | Name of settings file. |
GetText
#Gets the contents of a text file in this folder.
Parameters:
| name (string) | Name of text file. If no extension is included, '.txt' is assumed. |
SetBytes
#Set the contents of a binary file in this folder.