IGH_InitCodeAware

References
public interface IGH_InitCodeAware
Implement this interface in your IGH_DocumentObject class if you want to handle initialization codes from Canvas Search boxes.

Methods

SetInitCode

#
void SetInitCode(string code)
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.
code (string)The portion after the first "=" symbol.