ObjectPropertiesPageEventArgs

References

Constructors

ObjectPropertiesPageEventArgs

#Since v6.0
Used by ObjectPropertiesPage to notify the page when updating, modifying or determining if the page should be included in the navigation bar
public ObjectPropertiesPageEventArgs(
page
Page sending the message
)

Properties

DocRuntimeSerialNumber

#Since v6.0
Document containing the objects and views
[CLSCompliant(false)] public uint DocRuntimeSerialNumber { get; }

Document

#Since v6.0
Document containing the objects and views
public RhinoDoc Document { get; }

EventRuntimeSerialNumber

#Since v6.14
Gets the runtime serial number.
[CLSCompliant(false)] public uint EventRuntimeSerialNumber { get; }
The runtime serial number.

ObjectCount

#Since v6.0
public int ObjectCount { get; }

Objects

#Since v6.0
Return a list of Rhino objects to be processed by this object properties page
public RhinoObject[] Objects { get; }

ObjectTypes

#Since v6.0
[CLSCompliant(false)] public uint ObjectTypes { get; }

Page

#Since v6.0
The page sending these arguments
public ObjectPropertiesPage Page { get; }

View

#Since v6.0
Active view
public RhinoView View { get; }

Viewport

#Since v6.0
Active viewport
public RhinoViewport Viewport { get; }

Methods

GetObjects

#Since v6.0
Get selected objects that match a given filter
[CLSCompliant(false)] public RhinoObject[] GetObjects(
ObjectType
filter
)

GetObjects<T>

#Since v6.0
Get selected objects of a given type
public T[] GetObjects<T>()

IncludesObjectsType

#Since v6.7
[CLSCompliant(false)] public bool IncludesObjectsType(
ObjectType
objectTypes,
allMustMatch
If true then every selected object must match the object type otherwise; only a single object has to be of the specified type
)

IncludesObjectsType

#Since v6.0
[CLSCompliant(false)] public bool IncludesObjectsType(
ObjectType
objectTypes
)

IncludesObjectsType<T>

#Since v6.0
Return true if any of the selected objects match the given type
public bool IncludesObjectsType<T>()

IncludesObjectsType<T>

#Since v6.7
Return true if any of the selected objects match the given type
public bool IncludesObjectsType<T>(
allMustMatch
If true then every selected object must match the object type otherwise; only a single object has to be of the specified type
)