ObjectPropertiesPageEventArgs

References

Constructors

ObjectPropertiesPageEventArgs

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

Properties

DocRuntimeSerialNumber

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

Document

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

EventRuntimeSerialNumber

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

ObjectCount

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

Objects

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

ObjectTypes

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

Page

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

View

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

Viewport

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

Methods

GetObjects

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

GetObjects<T>

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

IncludesObjectsType

#Since v6.7
[CLSCompliant(false)] public bool IncludesObjectsType(ObjectType objectTypes, bool allMustMatch)
objectTypes (ObjectType)
allMustMatch (bool)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)
objectTypes (ObjectType)

IncludesObjectsType<T>

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

IncludesObjectsType<T>

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