GH_DocObjectEventArgs

EventArgsReferences
These arguments are passed along with ObjectsAdded and ObjectsRemoved events on GH_Document.

Properties

Attributes

#
Gets all the attributes that are associated with all objects in the event.
public List<IGH_Attributes> Attributes { get; }

Document

#
Gets the document that raised the event.
public GH_Document Document { get; }

ObjectCount

#
Gets the number of objects in this event.
public int ObjectCount { get; }

Objects

#
Gets a readonly list of the objects to which this event pertains.
public ReadOnlyCollection<IGH_DocumentObject> Objects { get; }

Indexers

Object

#
Gets the object to which this event pertains.
public IGH_DocumentObject this[
index
] { get; }