Properties_T_Rhino_RhinoDoc - mcneel/rhinocommon-api-docs GitHub Wiki

RhinoDoc Properties

The RhinoDoc type exposes the following members.

Properties

 

Name Description
Public propertyStatic member ActiveDoc WARNING!! Do not use the ActiveDoc if you don't have to. Under Mac Rhino the ActiveDoc can change while a command is running. Use the doc that is passed to you in your RunCommand function or continue to use the same doc after the first call to ActiveDoc.
Public property Bitmaps bitmaps used in textures, backgrounds, wallpapers, ...
Public property CurrentUndoRecordSerialNumber

0: undo recording is active and being saved on the undo record with the specified serial number. 0: undo recording is not active. (Disabled or nothing is being recorded.)

Public property DateCreated
Public property DateLastEdited
Public propertyCode example DimStyles
Public property DistanceDisplayPrecision
Public property DocumentId **Obsolete. ** Gets the Document Id.
Public property EarthAnchorPoint
Public property Fonts
Public propertyCode example Groups
Public propertyCode example HatchPatterns
Public propertyCode example InstanceDefinitions
Public property IsLocked Check to see if the file associated with this document is locked. If it is locked then this is the only document that will be able to write the file. Other instances of Rhino will fail to write this document.
Public property IsReadOnly Current read-only mode for this document. true if the document can be viewed but NOT saved. false if document can be viewed and saved.
Public property IsSendingMail true if Rhino is in the process of sending this document as an email attachment.
Public property Layers Layers in the document.
Public property Lights
Public property Linetypes Linetypes in the document.
Public property Materials Materials in the document.
Public property MeshingParameterStyle Type of MeshingParameters currently used by the document to mesh objects
Public property ModelAbsoluteTolerance Model space absolute tolerance.
Public property ModelAngleToleranceDegrees Model space angle tolerance.
Public property ModelAngleToleranceRadians Model space angle tolerance.
Public propertyCode example ModelDistanceDisplayPrecision
Public property ModelRelativeTolerance Model space relative tolerance.
Public property ModelUnitSystem
Public property Modified Returns or sets the document's modified flag.
Public property Name Returns the name of the currently loaded Rhino document (3DM file).
Public property NamedConstructionPlanes
Public propertyCode example NamedViews
Public property NextUndoRecordSerialNumber The serial number that will be assigned to the next undo record that is constructed.
Public property Notes Returns or sets the document's notes.
Public property Objects
Public property PageAbsoluteTolerance Page space absolute tolerance.
Public property PageAngleToleranceDegrees Page space angle tolerance.
Public property PageAngleToleranceRadians Page space angle tolerance.
Public property PageDistanceDisplayPrecision
Public property PageRelativeTolerance Page space relative tolerance.
Public propertyCode example PageUnitSystem
Public property Path Returns the path of the currently loaded Rhino document (3DM file).
Public property RenderSettings
Public property RuntimeSerialNumber Unique serialNumber for the document while the application is running. This is not a persistent value.
Public property Strings
Public property TemplateFileUsed name of the template file used to create this document. This is a runtime value only present if the document was newly created.
Public property UndoRecordingEnabled
Public property UndoRecordingIsActive true if undo recording is actually happening now.
Public property Views
  Back to Top

See Also

Reference

RhinoDoc Class
Rhino Namespace

⚠️ **GitHub.com Fallback** ⚠️