RhinoObject Properties |
The RhinoObject type exposes the following members.
Name | Description | |
---|---|---|
Attributes |
Gets or sets the object attributes.
| |
ComponentStatus |
Gets or sets the component status of the model component.
(Inherited from ModelComponent.) | |
ComponentType |
Returns ModelGeometry.
(Overrides ModelComponentComponentType.) | |
DeletedName |
Gets the name of a component that is deleted.
(Inherited from ModelComponent.) | |
Disposed |
Indicates if this object has been disposed or the
document it originally belonged to has been disposed.
(Inherited from CommonObject.) | |
Document |
Gets the document that owns this object.
| |
Geometry |
Gets the underlying geometry for this object.
All rhino objects are composed of geometry and attributes. | |
GripsOn | Gets or sets the activation state of object default editing grips. | |
GripsSelected |
true if grips are turned on and at least one is selected.
| |
GroupCount | Number of groups object belongs to. | |
HasDynamicTransform |
True if the object has a dynamic transformation
| |
HasId |
Returns a value indicating whether the component has an ID.
(Inherited from ModelComponent.) | |
HasIndex |
Returns a value indicating whether the component has an Index.
(Inherited from ModelComponent.) | |
HasName |
Returns a value indicating whether the component has a Name.
(Inherited from ModelComponent.) | |
HasSubobjectMaterials |
Will be true if the object contains sub object meshes with materials
that are different than the top level object.
| |
HasUserData |
Gets true if this class has any custom information attached to it through UserData.
(Inherited from CommonObject.) | |
Id |
Every object has a Guid (globally unique identifier, also known as UUID, or universally
unique identifier). The default value is Guid.Empty.
(Overrides ModelComponentId.)When an object is added to a model, the value is checked. If the value is Guid.Empty, a new Guid is created. If the value is not null but it is already used by another object in the model, a new Guid is created. If the value is not Guid.Empty and it is not used by another object in the model, then that value persists. When an object is updated, by a move for example, the value of ObjectId persists. This value is the same as the one returned by this.Attributes.ObjectId. | |
IdIsLocked |
Returns a value indicating whether the component ID is already locked.
(Inherited from ModelComponent.) | |
Index |
Gets or sets the model component index attribute.
(Inherited from ModelComponent.) | |
IndexIsLocked |
Returns a value indicating whether the component Index is already locked.
(Inherited from ModelComponent.) | |
InstanceDefinitionModelSerialNumber |
When a component is in a model as part of the information required for a linked instance definition,
this value identifies the linked instance definition reference model.
(Overrides ModelComponentInstanceDefinitionModelSerialNumber.) | |
IsComponentStatusLocked |
The component status itself can be locked. This returns an indication.
(Inherited from ModelComponent.) | |
IsDeletable |
Some objects cannot be deleted, like grips on lights and annotation objects.
| |
IsDeleted |
true if the object is deleted. Deleted objects are kept by the document
for undo purposes. Call RhinoDoc.UndeleteObject to undelete an object.
(Overrides ModelComponentIsDeleted.) | |
IsDocumentControlled |
If true this object may not be modified. Any properties or functions that attempt
to modify this object when it is set to "IsReadOnly" will throw a NotSupportedException.
(Inherited from CommonObject.) | |
IsHidden |
An object must be in one of three modes: normal, locked or hidden.
If an object is in normal mode, then the object's layer controls visibility
and selectability. If an object is locked, then the object's layer controls
visibility by the object cannot be selected. If the object is hidden, it is
not visible and it cannot be selected.
| |
IsInstanceDefinitionGeometry |
true if the object is used as part of an instance definition.
| |
IsLocked |
An object must be in one of three modes: normal, locked or hidden.
If an object is in normal mode, then the object's layer controls visibility
and selectability. If an object is locked, then the object's layer controls
visibility by the object cannot be selected. If the object is hidden, it is
not visible and it cannot be selected.
| |
IsNormal |
An object must be in one of three modes: normal, locked or hidden.
If an object is in normal mode, then the object's layer controls visibility
and selectability. If an object is locked, then the object's layer controls
visibility by the object cannot be selected. If the object is hidden, it is
not visible and it cannot be selected.
| |
IsPictureFrame |
Returns true if the object is a picture frame.
A picture frame object is an object that displays a texture map in all views.
| |
IsReference |
Gets a value indicating if an object is a reference object. An object from a work session
reference model is a reference object and cannot be modified. An object is
a reference object if, and only if, it is on a reference layer.
(Overrides ModelComponentIsReference.) | |
IsSolid |
Returns true if object is a closed solid, otherwise false.
| |
IsSystemComponent |
True if this model component is a system constant.
(Inherited from ModelComponent.)An incomplete list of system constant model components is below:
| |
IsValid | Tests an object to see if it is valid. (Inherited from CommonObject.) | |
ModelSerialNumber |
A value identifying the model that manages this component.
(Inherited from ModelComponent.) | |
Name |
Rhino objects have optional text names. More than one object in
a model can have the same name and some objects may have no name.
(Overrides ModelComponentName.) | |
NameIsLocked |
Returns a value indicating whether the component Name is already locked.
(Inherited from ModelComponent.) | |
NextRuntimeSerialNumber |
Gets the runtime serial number that will be assigned to
the next Rhino Object that is created.
| |
ObjectType |
Gets the Rhino-based object type.
| |
ReferenceModelSerialNumber |
When a component is in a model for reference, this value identifies the reference model.
(Overrides ModelComponentReferenceModelSerialNumber.) | |
RenderMaterial |
Gets the render material associated with this object or null if there
is none. This does not pay attention to the material source and will
not check parent objects or layers for a RenderMaterial.
| |
RuntimeSerialNumber |
Gets the objects runtime serial number.
| |
SubobjectMaterialComponents | ||
UserData |
List of custom information that is attached to this class.
(Inherited from CommonObject.) | |
UserDictionary |
Dictionary of custom information attached to this class. The dictionary is actually user
data provided as an easy to use shareable set of information.
(Inherited from CommonObject.) | |
Visible | Gets the object visibility. |