Grasshopper API
Grasshopper API
Grasshopper.Kernel
GH_UserObject Class
GH_UserObject Methods
Clear Method
CreateDefaultPath Method
InstantiateObject Method
ReadFromFile Method
SaveToFile Method
SetDataFromObject Method
GH_UserObject
ReadFromFile Method
Force an update of the local data from the file. The Path field must be set for this to work.
Namespace:
Grasshopper.Kernel
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax
C#
VB
Copy
public
void
ReadFromFile
()
Public
Sub
ReadFromFile
Exceptions
Exception
Condition
InvalidOperationException
Thrown when the source file doesn't exist or is corrupted.
See Also
Reference
GH_UserObject Class
Grasshopper.Kernel Namespace
Grasshopper for Rhino 8.13.24317.13000 (2024-11-12)
Copyright © 2009-2024 Robert McNeel & Associates
Report wishes and bugs at discourse.mcneel.com