Click or drag to resize

CentermarkObject Properties

The CentermarkObject type exposes the following members.

Properties
  NameDescription
Public propertyAnnotationGeometry
Get the annotation base geometry for this object
(Inherited from AnnotationObjectBase.)
Public propertyAttributes
Gets or sets the object attributes.
(Inherited from RhinoObject.)
Public propertyCentermarkGeometry
Get the dimension geometry for this object.
Public propertyComponentStatus
Gets or sets the component status of the model component.
(Inherited from ModelComponent.)
Public propertyComponentType
Returns ModelGeometry.
(Inherited from RhinoObject.)
Public propertyDeletedName
Gets the name of a component that is deleted.
(Inherited from ModelComponent.)
Public propertyDimensionStyle
Gets the DimensionStyle associated with this OrdinateDimensionObject.
(Inherited from DimensionObject.)
Public propertyCode exampleDisplayText
Gets the text that is displayed to users.
(Inherited from AnnotationObjectBase.)
Public propertyDisposed
Indicates if this object has been disposed or the document it originally belonged to has been disposed.
(Inherited from CommonObject.)
Public propertyDocument
Gets the document that owns this object.
(Inherited from RhinoObject.)
Public propertyGeometry
Gets the underlying geometry for this object.

All rhino objects are composed of geometry and attributes.

(Inherited from RhinoObject.)
Public propertyGripsOn
Gets or sets the activation state of object default editing grips.
(Inherited from RhinoObject.)
Public propertyGripsSelected
true if grips are turned on and at least one is selected.
(Inherited from RhinoObject.)
Public propertyGroupCount
Number of groups object belongs to.
(Inherited from RhinoObject.)
Public propertyHasDynamicTransform
True if the object has a dynamic transformation
(Inherited from RhinoObject.)
Public propertyHasId
Returns a value indicating whether the component has an ID.
(Inherited from ModelComponent.)
Public propertyHasIndex
Returns a value indicating whether the component has an Index.
(Inherited from ModelComponent.)
Public propertyHasMeasurableTextFields
Test if the text in the annotation object contains fields that involve length, area, or volume measurements
(Inherited from AnnotationObjectBase.)
Public propertyHasName
Returns a value indicating whether the component has a Name.
(Inherited from ModelComponent.)
Public propertyHasSubobjectMaterials
Will be true if the object contains sub object meshes with materials that are different than the top level object.
(Inherited from RhinoObject.)
Public propertyHasUserData
Gets true if this class has any custom information attached to it through UserData.
(Inherited from CommonObject.)
Public propertyId
Every object has a Guid (globally unique identifier, also known as UUID, or universally unique identifier). The default value is Guid.Empty.

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.

(Inherited from RhinoObject.)
Public propertyIdIsLocked
Returns a value indicating whether the component ID is already locked.
(Inherited from ModelComponent.)
Public propertyIndex
Gets or sets the model component index attribute.
(Inherited from ModelComponent.)
Public propertyIndexIsLocked
Returns a value indicating whether the component Index is already locked.
(Inherited from ModelComponent.)
Public propertyInstanceDefinitionModelSerialNumber
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.
(Inherited from RhinoObject.)
Public propertyIsComponentStatusLocked
The component status itself can be locked. This returns an indication.
(Inherited from ModelComponent.)
Public propertyIsDeletable
Some objects cannot be deleted, like grips on lights and annotation objects.
(Inherited from RhinoObject.)
Public propertyIsDeleted
true if the object is deleted. Deleted objects are kept by the document for undo purposes. Call RhinoDoc.UndeleteObject to undelete an object.
(Inherited from RhinoObject.)
Public propertyIsDocumentControlled
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.)
Public propertyIsHidden
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.
(Inherited from RhinoObject.)
Public propertyIsInstanceDefinitionGeometry
true if the object is used as part of an instance definition.
(Inherited from RhinoObject.)
Public propertyIsLocked
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.
(Inherited from RhinoObject.)
Public propertyIsNormal
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.
(Inherited from RhinoObject.)
Public propertyIsPictureFrame
Returns true if the object is a picture frame. A picture frame object is an object that displays a texture map in all views.
(Inherited from RhinoObject.)
Public propertyIsReference
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.
(Inherited from RhinoObject.)
Public propertyIsSolid
Returns true if object is a closed solid, otherwise false.
(Inherited from RhinoObject.)
Public propertyIsSystemComponent
True if this model component is a system constant.

An incomplete list of system constant model components is below:

  • ON_ModelComponent::Unset

  • ON_InstanceDefinition::Empty

  • ON_Linetype::Unset
  • ON_Linetype::Continuous
  • ON_Linetype::ByLayer
  • ON_Linetype::ByParent

  • ON_Layer::Unset
  • ON_Layer::Default

  • ON_TextStyle::Unset
  • ON_TextStyle::Default
  • ON_TextStyle::ByLayer
  • ON_TextStyle::ByParent

  • ON_DimStyle::Unset
  • ON_DimStyle::Default
  • ON_DimStyle::DefaultInchDecimal
  • ON_DimStyle::DefaultInchFractional
  • ON_DimStyle::DefaultFootInchArchitecture
  • ON_DimStyle::DefaultMillimeterSmall
  • ON_DimStyle::DefaultMillimeterLarge
  • ON_DimStyle::DefaultMillimeterArchitecture
(Inherited from ModelComponent.)
Public propertyIsValid
Tests an object to see if it is valid.
(Inherited from CommonObject.)
Public propertyModelSerialNumber
A value identifying the model that manages this component.
(Inherited from ModelComponent.)
Public propertyName
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.
(Inherited from RhinoObject.)
Public propertyNameIsLocked
Returns a value indicating whether the component Name is already locked.
(Inherited from ModelComponent.)
Public propertyObjectType
Gets the Rhino-based object type.
(Inherited from RhinoObject.)
Public propertyReferenceModelSerialNumber
When a component is in a model for reference, this value identifies the reference model.
(Inherited from RhinoObject.)
Public propertyRenderMaterial
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.
(Inherited from RhinoObject.)
Public propertyRuntimeSerialNumber
Gets the objects runtime serial number.
(Inherited from RhinoObject.)
Public propertySubobjectMaterialComponents
(Inherited from RhinoObject.)
Public propertyUserData
List of custom information that is attached to this class.
(Inherited from CommonObject.)
Public propertyUserDictionary
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.)
Public propertyVisible
Gets the object visibility.
(Inherited from RhinoObject.)
Top
See Also