Grasshopper API
GH_ComponentServerNewUserObject Method |
Create a new UserObject and write it to the Grasshopper User Object folder.
Namespace: Grasshopper.Kernel
Assembly: Grasshopper (in Grasshopper.dll)

public static bool NewUserObject( IGH_DocumentObject obj )
Public Shared Function NewUserObject ( obj As IGH_DocumentObject ) As Boolean
Parameters
- obj
- Type: Grasshopper.KernelIGH_DocumentObject
Object to write.
Return Value
Type: BooleanTrue on success, false on failure.
