Click or drag to resize

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)
Syntax
public void Associate(
	string rhinoFile,
	string grasshopperFile
)

Parameters

rhinoFile
Type: SystemString
Path to Rhino 3dm file.
grasshopperFile
Type: SystemString
Path to Grasshopper ghx or gh file.
See Also