GH_RelevantObjectData

References
Contains information about relevant objects at a specific canvas location.

Constructors

GH_RelevantObjectData

#
public GH_RelevantObjectData(PointF pt)
Construct a new instance.
pt (PointF)Point for relevant data aquisition.

Properties

Attributes

#
public IGH_Attributes Attributes { get; }
Gets the attributes that belong to the object.

Group

#
public GH_Group Group { get; }
Gets the cast of the DocObject to GH_Group.

IsTopLevelObject

#
public bool IsTopLevelObject { get; }
Gets a value indicating whether or not the Object is a top-level object.

Object

#
public IGH_DocumentObject Object { get; }
Gets the raw object cached in this data instance.

ObjectType

#
public GH_ObjectSpecies ObjectType { get; }
Gets the type of object indicated by this data.

Parameter

#
public IGH_Param Parameter { get; }
Gets the cast of the DocObject to IGH_Param. If the DocObject is not of type IGH_Param, the attributes of the object will be perused to find a nested IGH_Param at the point.

Point

#
public PointF Point { get; }
Gets the point for which this GH_RelevantObjectData has been made.

TopLevelObject

#
public IGH_DocumentObject TopLevelObject { get; }
Gets the top-level object.

Methods

CreateBalloonData

#
public void CreateBalloonData(IGH_DocumentObject obj)
obj (IGH_DocumentObject)

CreateGripData

#
public void CreateGripData(IGH_DocumentObject obj, bool is_input)
obj (IGH_DocumentObject)
is_input (bool)

CreateGroupData

#
public void CreateGroupData(GH_Group group)
group (GH_Group)

CreateObjectData

#
public void CreateObjectData(IGH_DocumentObject obj)
obj (IGH_DocumentObject)

CreateWireData

#
public void CreateWireData()