Grasshopper API
GH_DocumentAssociationsAssociate Method |
Add an association between a Rhino and a Grasshopper file.
If a similar association already exists, it will be overwritten.
This function reads and writes to the disk, it is SLOW. Only call
it when you KNOW something changed.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public void Associate( string rhinoFile, string grasshopperFile )
Public Sub Associate ( rhinoFile As String, grasshopperFile As String )
Parameters
- rhinoFile
- Type: SystemString
Path to Rhino 3dm file. - grasshopperFile
- Type: SystemString
Path to Grasshopper ghx or gh file.
