GH_DocObjectEventArgs

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

Properties

Attributes

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

Document

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

ObjectCount

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

Objects

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

Indexers

Object

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