GH_DocumentRemoveObject Method (IGH_Attributes, Boolean) |
Remove the top-level object in the attribute tree from the document.
This method does not add an Undo event, that is the responsibility of the caller.
Namespace:
Grasshopper.Kernel
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public bool RemoveObject(
IGH_Attributes attribute,
bool update
)
Public Function RemoveObject (
attribute As IGH_Attributes,
update As Boolean
) As Boolean
Parameters
- attribute
- Type: Grasshopper.KernelIGH_Attributes
- update
- Type: SystemBoolean
Return Value
Type:
BooleanSee Also