Properties
AnnotationGeometry
Attributes
ComponentStatus
Disposed
EditPointGripsOn
Geometry
All rhino objects are composed of geometry and attributes.
GripsOn
GripsSelected
HasDynamicTransform
HasMeasurableTextFields
HasSubobjectMaterials
HasUserData
Id
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
| InvalidOperationException | When setting the Index failed. This usually happens because the instance Index is already locked. |
IndexIsLocked
InstanceDefinitionModelSerialNumber
IsComponentStatusLocked
IsDeletable
IsDeleted
IsDocumentControlled
IsInstanceDefinitionGeometry
IsLocked
IsNormal
IsPictureFrame
IsReference
IsSystemComponent
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
ModelSerialNumber
Name
NameIsLocked
ObjectType
ReferenceModelSerialNumber
RenderMaterial
RuntimeSerialNumber
SubobjectMaterialComponents
UsePreviewMesh
UserData
UserDictionary
WorksessionReferenceSerialNumber
Methods
ClearId
| InvalidOperationException | If the ID is locked. |
ClearIndex
| InvalidOperationException | If the index is locked. |
ClearName
| InvalidOperationException | If the name is locked. |
ConstructConstObject
CopyHistoryOnReplace
CreateMeshes
CreateSections
CreateSlices
CustomRenderMeshesBoundingBox
DataCRC
DeleteHistoryRecord
Description
DestroyMeshes
Dispose
Dispose
This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method.
You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true.
Also, you must call the base virtual method within your overriding method.
DuplicateGeometry
EnableCustomGrips
EnableEditPointGrips
EnableGrips
Grips that were on are put back when the requested kind cannot be made, so a false return leaves the object with the grips it had.
Except when the requested kind is already on, the grips are new objects afterwards and a GripObject held across this call is stale.
Grips this turns on are not subject to Automatic Points On. They stay on until something turns them off, as with PointsOn and EditPtOn.
gripsId, if the object has no grips of that kind (a polysurface has no default grips), or if the grips already on refused to turn off, which they do while they are being dragged.EnableVisualAnalysisMode
EnsurePrivateCopy
GetActiveVisualAnalysisModes
GetBoundingBox
GetCustomRenderMeshParameter
GetDynamicTransform
GetGrips
GetGroupList
GetHighlightedSubObjects
GetMaterial
GetMaterial
GetMaterial
GetMaterial
GetMeshes
GetObjectData
GetRenderMaterial
GetRenderMaterial
GetRenderMaterial
GetRenderMaterial
GetRenderMeshParameters
GetRenderMeshParameters
GetRenderPrimitiveList
GetRenderPrimitiveList
GetSelectedSubObjects
GetSubObjects
| ArgumentNullException |
GetTextureChannels
GetTextureMapping
GetTextureMapping
GetTightBoundingBox
HasCustomRenderMeshes
HasTextureMapping
Highlight
HighlightSubObject
HistoryChildren
HistoryParents
InVisualAnalysisMode
InVisualAnalysisMode
IsActiveInViewport
IsHighlighted
0: object is not highlighted.
1: entire object is highlighted.
3: one or more proper sub-objects are highlighted.
IsMeshable
IsSelectable
IsSelected
IsSubObjectHighlighted
IsSubObjectSelectable
IsSubObjectSelected
IsValidWithLog
LockId
LockIndex
LockName
MemoryEstimate
MeshCount
NonConstOperation
Defines the necessary implementation to free the instance from being constant.
ObjectFrame
ObjectFrame
OnAddToDocument
OnDeleteFromDocument
OnDuplicate
OnPick
OnPicked
OnSelectionChanged
OnSpaceMorph
OnSwitchToNonConst
OnTransform
RenderMeshes
Some providers - Displacement in particular - compute their meshes asynchronously. Until that work finishes, this method returns the object's ordinary render mesh instead of the custom one and reports that by setting RenderMeshProvider.Flags.Incomplete in flags. That mesh is valid geometry but does not yet reflect the provider, so a caller that measures it will see the object as it was beforehand. Test for the flag rather than trusting the first result.
flags. Null if the object is not in a document.Select
Highlighting can be and stay out of sync, as its specification is independent.
0: object is not selected.
1: object is selected.
2: object is selected persistently.
Select
0: object is not selected.
1: object is selected.
2: object is selected persistently.
Select
0: object is not selected.
1: object is selected.
2: object is selected persistently.
SelectSubObject
0: object is not selected
1: object is selected
2: object is selected persistently.