Grasshopper API
IGH_InitCodeAware Interface |
Implement this interface in your IGH_DocumentObject class if you want to
handle initialization codes from Canvas Search boxes.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

The IGH_InitCodeAware type exposes the following members.

Name | Description | |
---|---|---|
![]() | SetInitCode |
This method will be called when the user inserts an object via the
Canvas Search popup and supplies an "=XXXX" string init code.
Do not throw exceptions in this method! Either handle the code correctly or ignore it.
|
