Finalizer
~RhinoDoc
#~RhinoDoc()
Properties
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.
Get the space associated with the active viewport for this document
bitmaps used in textures, backgrounds, wallpapers, ...
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
public ICurrentEnvironment CurrentEnvironment { get; }
obsoletePlease use Rhino.Render.RenderSettings methods
Access to the current environment for various uses
The description of the undo record currently being recorded, as shown in Undo, Redo, and UndoMultiple. If no description has been set, this is the name of the command that owns the record. Null if undo recording is not active.
>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.)
Returns the date the document was created in Coordinated Universal Time (UTC). Use DateTime.ToLocalTime to convert to local time.
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
public int DistanceDisplayPrecision { get; }
obsolete. Use ModelDistanceDisplayPrecision instead.
[Browsable(false)]
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
public int DocumentId { get; }
obsoleteUse RuntimeSerialNumber instead
Gets the Document Id.
obsoleteUse DimStyles table instead
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
public GroundPlane GroundPlane { get; }
Gets the ground plane of this document.
Exceptions:
| RdkNotLoadedException | If the RDK is not loaded. |
Returns true if Rhino is currently running a command.
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.
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.
true if Rhino is in the process of sending this document as an email attachment.
If LayoutSpaceAnnotationScaling is on, sizes in dimstyles are multiplied by dimscale when the annotation is displayed in a detail viewport not in a detail
Controls if, when, and how linked and linked and embedded instance definitions are updated when the source archive that was used to create the instance definition has changed.
The markup mode this document is currently in: creating, viewing or editing a markup, or MarkupMode.None when not in markup mode. MarkupViewChanged reports changes to this value.
Type of MeshingParameters currently used by the document to mesh objects
Model space absolute tolerance.
Model space angle tolerance.
Model space angle tolerance.
The base point in the model that is used when inserting the model into another as a block definition. By default the base point in any model is 0,0,0.
public DistanceDisplayMode ModelDistanceDisplayMode { get; set; }
Gets/Sets the distance display mode for model space.
Model space relative tolerance.
If ModelSpaceAnnotationScaling is on, sizes in dimstyles are multiplied by dimscale when the annotation is displayed in a model space viewport not in a detail
The scale factor for hatches in model space when Hatch Scaling is enabled
True if hatch scaling is enabled, false if not.
The scale factor for text in model space when Annotation Scaling is enabled
Gets and sets the link address, or URL, for the model.
Returns the name of the currently loaded Rhino document (3DM file).
Collection of named construction planes.
Collection of named layer states.
Collection of named positions.
The serial number that will be assigned to the next undo record that is constructed.
Page space absolute tolerance.
Page space angle tolerance.
Page space angle tolerance.
public DistanceDisplayMode PageDistanceDisplayMode { get; set; }
Gets/Sets the distance display mode for page space.
Page space relative tolerance.
Length unit used on page space geometry.
Collection of markups in this document
Returns the path of the currently loaded Rhino document (3DM file).
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[EditorBrowsable(EditorBrowsableState.Never)]
public IPostEffects PostEffects { get; }
obsoletePlease use Rhino.Render.RenderSettings methods
Access to the post effects
Collection of document runtime data. This is a good place to put non-serializable, per document data, such as panel view models. Note well: This data will be dispose with the document and does not get serialized.
Value: The runtime document data table.
Unique serialNumber for the document while the application is running. This is not a persistent value.
Collection of section styles in this document
Collection of document user data strings in this document
Returns or sets the appearance of all SubD objects in the document.
Remarks: When setting this property, if the document contains SubD objects, then the document will be redrawn automatically.
name of the template file used to create this document. This is a runtime value only present if the document was newly created.
true if undo recording is actually happening now.
Provides access to the document's worksession.
Methods
public bool AddCustomUndoEvent(string description, EventHandler<CustomUndoEventArgs> handler, object tag)
Add a custom undo event so you can undo private plug-in data when the user performs an undo or redo
Parameters:
| description (string) | |
| handler (EventHandler<CustomUndoEventArgs>) | |
| tag (object) |
Parameters:
| description (string) | |
| handler (EventHandler<CustomUndoEventArgs>) |
Parameters:
| modelUnits (bool) | |
| units (LengthUnit) | |
| scale (bool) |
Parameters:
| newUnitSystem (UnitSystem) | |
| scale (bool) |
Parameters:
| newUnitSystem (UnitSystem) | |
| scale (bool) |
Audits the contents of the document.
Instructs Rhino to begin recording undo information when the document is changed outside of a command. We use this, e.g., to save changes caused by the modeless layer or object properties dialogs when commands are not running.
Parameters:
| description (string) | A text describing the record. |
Returns: Serial number of record. Returns 0 if record is not started because undo information is already being recorded or undo is disabled.
public void ClearRedoRecords()
Parameters:
| purgeDeletedObjects (bool) |
Creates a new RhinoDoc
Parameters:
| modelTemplateFileName (string) | Name of a Rhino model to use as a template to initialize the document. If the template contains views, those views are created. If null, an empty document with no views is created |
Gets the default object attributes for this document. The attributes will be linked to the currently active layer and they will inherit the Document WireDensity setting.
Create a new headless RhinoDoc from a template file
Parameters:
| file3dmTemplatePath (string) | Name of a Rhino model to use as a template to initialize the document. If null, an empty document is created |
Returns: New RhinoDoc on success. Note that this is a "headless" RhinoDoc and it's lifetime is under your control.
public bool CustomRenderMeshesBoundingBox(MeshType mt, ViewportInfo vp, ref Flags flags, PlugIn plugin, DisplayPipelineAttributes attrs, out BoundingBox boundingBox)
Returns the bounding box of custom render primitives for this object .
Parameters:
| mt (MeshType) | The mesh type requested (render or analysis). |
| vp (ViewportInfo) | The viewport being rendered |
| flags (ref RenderMeshProvider.Flags) | See RenderMeshProvider.Flags. This is an in/out parameter: on return it also carries any status flags - including RenderMeshProvider.Flags.Incomplete when an asynchronous provider has not finished - so reset it before each call and test it afterwards. |
| plugin (PlugIn) | The requesting plug-in (typically the calling plugin) |
| attrs (DisplayPipelineAttributes) | Display attributes for the caller - null if this is a full rendering. |
| boundingBox (out BoundingBox) | The requested bounding box |
Returns: True if the process was a success
public void Dispose()
Ends the undo record.
Parameters:
| undoRecordSerialNumber (uint) | The serial number of the undo record. |
Returns: True if successful, false otherwise.
Export the entire document to a file. All file formats that Rhino can export to are supported by this function.
Parameters:
| filePath (string) | |
| options (ArchivableDictionary) | Options to help define how data should be exported. |
Returns: true on success
Export the entire document to a file. All file formats that Rhino can export to are supported by this function.
Parameters:
| filePath (string) |
Returns: true on success
Export selected geometry to a file. All file formats that Rhino can export to are supported by this function.
Parameters:
| filePath (string) | |
| options (ArchivableDictionary) | Options to help define how data should be exported. |
Returns: true on success
Export selected geometry to a file. All file formats that Rhino can export to are supported by this function.
Parameters:
| filePath (string) |
Returns: true on success
Extracts the bitmap preview image from the specified .3dm file.
Parameters:
| path (string) | The .3dm file from which to extract the preview image. If null, the path to the active document is used. |
Returns: The preview bitmap if successful, null otherwise.
Search for a file using Rhino's search path. Rhino will look in the following places: 1. Current model folder 2. Path specified in options dialog/File tab 3. Rhino system folders 4. Rhino executable folder
Parameters:
| filename (string) |
Returns: Path to existing file if found, an empty string if no file was found
Call this method to get string representing the specified value using the documents display coordinate system and display precision.
Call this method to get string representing the specified value using the documents display coordinate system and display precision.
Parameters:
| value (double) |
Search the open document list for a document with a Path equal to the specified file path.
Parameters:
| filePath (string) | The full path to the file to search for. |
Returns: The file name to search for
obsoleteUse FromRuntimeSerialNumber
Parameters:
| docId (int) |
Parameters:
| serialNumber (uint) |
Get analysis meshing parameters currently used by the document
Get the custom meshing parameters that this document will use.
public bool GetCustomUnitSystem(bool modelUnits, out string customUnitName, out double metersPerCustomUnit)
Get the custom unit system name and custom unit scale.
Parameters:
| modelUnits (bool) | Set true to get values from the document's model unit system. Set false to get values from the document's page unit system. |
| customUnitName (out string) | The custom unit system name. |
| metersPerCustomUnit (out double) | The meters per custom unit scale. |
Returns: true if successful, false otherwise.
Parameters:
| missingOnly (bool) |
Returns the active plane of Rhino's auto-gumball widget. Note, when calling from a Rhino command, make sure the command class has the Rhino.Commands.Style.Transparent command style attribute.
Parameters:
| plane (out Plane) | The active plane. |
Returns: true if the auto-gumball widget is enabled and visible. False otherwise.
Get MeshingParameters currently used by the document
Parameters:
| style (MeshingParameterStyle) |
Gets the link address, or URL, for the model.
Gets this document's redo history, ordered from the action that the next call to Redo() repeats to the oldest action that can be redone.
Returns: The redo records. The list is empty when there is nothing to redo.
[EditorBrowsable(EditorBrowsableState.Never)]
public RenderPrimitiveList GetRenderPrimitiveList(ViewportInfo viewport, DisplayPipelineAttributes attrs)
Build custom render mesh(es) for this document (i.e. - GH meshes).
Parameters:
| viewport (ViewportInfo) | The viewport being rendered. |
| attrs (DisplayPipelineAttributes) | Attributes for the view mode you are supplying meshes for. Will be null if this is a modal rendering. |
Returns: Returns a RenderPrimitiveList if successful otherwise returns null.
[EditorBrowsable(EditorBrowsableState.Never)]
public IEnumerable<RenderPrimitive> GetRenderPrimitives(bool forceTriangleMeshes, bool quietly)
obsoleteThis version is obsolete because - uses the old school custom render meshes. Prefer CustomRenderMeshes
Get a enumerable list of custom mesh primitives
[EditorBrowsable(EditorBrowsableState.Never)]
public IEnumerable<RenderPrimitive> GetRenderPrimitives(Guid plugInId, ViewportInfo viewport, bool forceTriangleMeshes, bool quietly)
obsoleteThis version is obsolete because - uses the old school custom render meshes. Prefer RenderPrimitives
Get a enumerable list of custom mesh primitives
Parameters:
| plugInId (Guid) | The Id of the plug-in creating the iterator. |
| viewport (ViewportInfo) | The rendering view camera. |
| forceTriangleMeshes (bool) | If true all mesh faces will be triangulated |
| quietly (bool) | Iterate quietly, if true then no user interface will be displayed |
[EditorBrowsable(EditorBrowsableState.Never)]
public IEnumerable<RenderPrimitive> GetRenderPrimitives(ViewportInfo viewport, bool forceTriangleMeshes, bool quietly)
obsoleteThis version is obsolete because - uses the old school custom render meshes. Prefer RenderMeshes
Get a enumerable list of custom mesh primitives
Parameters:
| viewport (ViewportInfo) | The rendering view camera. |
| forceTriangleMeshes (bool) | If true all mesh faces will be triangulated |
| quietly (bool) | Iterate quietly, if true then no user interface will be displayed |
Gets this document's undo history, ordered from the most recently recorded action to the oldest recorded action.
Returns: The undo records. The list is empty when there is nothing to undo.
GetUnitSystemName
#public bool HasCustomRenderMeshes(MeshType mt, ViewportInfo vp, ref Flags flags, PlugIn plugin, DisplayPipelineAttributes attrs)
Returns true if the document has a set of custom render primitives - ie, CustomRenderMeshes will return non-null.
Parameters:
| mt (MeshType) | The mesh type requested (render or analysis). |
| vp (ViewportInfo) | The viewport being rendered. |
| flags (ref RenderMeshProvider.Flags) | See RenderMeshProvider.Flags. This is an in/out parameter: on return it also carries any status flags - including RenderMeshProvider.Flags.Incomplete when an asynchronous provider has not finished - so reset it before each call and test it afterwards. |
| plugin (PlugIn) | The requesting plug-in (typically the calling plugin) |
| attrs (DisplayPipelineAttributes) | Display attributes for the caller - null if this is a full rendering. |
Returns: Returns true if the object will has a set of custom render primitives
Import geometry into a RhinoDoc from a file. This can be any file format that Rhino can import
Parameters:
| filePath (string) | |
| options (ArchivableDictionary) |
Exceptions:
| FileNotFoundException |
Import geometry into a RhinoDoc from a file. This can be any file format that Rhino can import
Parameters:
| filePath (string) |
Returns: true on success
This is a low level tool to determine if Rhino is currently running a command.
Parameters:
| bIgnoreScriptRunnerCommands (bool) | If true, script running commands, like "ReadCommandFile" and the RhinoScript plug-ins "RunScript" command, are not counted. |
Returns: Number of active commands.
Determines if a document unit system is a metric unit system.
Parameters:
| modelUnits (bool) | True to query model units, false to query page units. |
Returns: Return true if the length unit is a metric unit system.
Opens a 3dm file and makes it the active document. If called on windows the active document will be saved and closed and the new document will be opened and become the active document. If called on the Mac the file will be opened in a new document window.
Returns a list of currently open Rhino documents
Returns a list of currently open Rhino documents
Parameters:
| includeHeadless (bool) | pass true to include headless docs in the list |
obsoleteOpenFile is obsolete, use Open instead
Parameters:
| path (string) |
Opens a 3DM file into a new headless RhinoDoc.
Parameters:
| file3dmPath (string) | Path of a Rhino model to load. |
Opens a file into a new headless RhinoDoc.
Parameters:
| filePath (string) | Path of a Rhino model to load. |
| options (ArchivableDictionary) |
Opens a 3dm file and makes it the active document. If called on windows the active document will be saved and closed and the new document will be opened and become the active document. If called on the Mac the file will be opened in a new document window. This function is interactive in that it will ask you if you want to open a document as read only if it is already open in a different process
Purges unused table objects from this document, the same way the Purge command does.
Parameters:
| filter (PurgeFilter) | The document table object types to purge. |
| quiet (bool) | Set to true to suppress any output or progress messages. |
Returns: What was purged.
Purges unused table objects from this document, the same way the Purge command does.
Remarks: The order in which the table object types are purged matters, and purging one type can make another type purgeable, so this purges everything
filter asks for in a single operation.Parameters:
| filter (PurgeFilter) | The document table object types to purge. |
Returns: What was purged.
Example:
var stats = doc.Purge(PurgeFilter.Layers | PurgeFilter.Materials);
RhinoApp.WriteLine($"Purged {stats.PurgedCount(PurgeFilter.Layers)} layers.");Purges the history records of every object in this document.
Remarks: Objects that are deleted (and therefore on the undo stack) have their history records purged but are not included in the returned count.
Returns: The number of objects that had a history record purged.
Purges the history records of a list of objects.
Parameters:
| objects (IEnumerable<RhinoObject>) | The objects whose history records are to be purged. Objects that have no history record are skipped. |
Returns: The number of objects that had a history record purged.
Purges the history records of every object in this document.
Parameters:
| hiddenCount (out int) | The number of purged objects that were hidden or on a hidden layer. |
Returns: The number of objects that had a history record purged.
Parameters:
| path (string) | |
| options (FileReadOptions) |
Returns the major version of Rhino that wrote the .3dm file this document was read from. Values from referenced or merged files are not reported.
Remarks: This is the Rhino version, not the 3dm archive version: a file written by Rhino 8 returns 8, not 80. Use File3dm.ReadArchiveVersion(string) for the archive version of a file on disk, or File3dm.ReadRevisionHistory(string, string, string, int, DateTime, DateTime) for who last edited it. A document created by "New" returns -1 even when a template was read.
Returns: The Rhino major version (e.g. 1, 2, 3, ... 8, 9), or -1 if this document was not read from a .3dm file.
public RenderMeshes[] RenderMeshes(MeshType mt, ViewportInfo vp, ref Flags flags, PlugIn plugin, DisplayPipelineAttributes attrs)
Returns a set of non-object custom render primitives for this document.
Parameters:
| mt (MeshType) | The mesh type requested (render or analysis). |
| vp (ViewportInfo) | The viewport being rendered |
| flags (ref RenderMeshProvider.Flags) | See RenderMeshProvider.Flags. This is an in/out parameter: on return it also carries any status flags - including RenderMeshProvider.Flags.Incomplete when an asynchronous provider has not finished - so reset it before each call and test it afterwards. |
| plugin (PlugIn) | The requesting plug-in (typically the calling plugin) |
| attrs (DisplayPipelineAttributes) | Display attributes for the caller - null if this is a full rendering. |
Returns: Returns a set of custom render primitives for this object
public bool SaveAs(string file3dmPath, int version, bool saveSmall, bool saveTextures, bool saveGeometryOnly, bool savePluginData, bool useCompression)
Save doc as a 3dm to a specified path
Parameters:
| file3dmPath (string) | |
| version (int) | Rhino file version |
| saveSmall (bool) | whether to inlcude render meshes and preview image |
| saveTextures (bool) | whether to include the bitmap table |
| saveGeometryOnly (bool) | whether to write enything besides geometry |
| savePluginData (bool) | whether to write plugin user data |
| useCompression (bool) | "whether to compress meshes and embedded files |
Returns: true on success
public bool SaveAs(string file3dmPath, int version, bool saveSmall, bool saveTextures, bool saveGeometryOnly, bool savePluginData)
Save doc as a 3dm to a specified path
Parameters:
| file3dmPath (string) | |
| version (int) | Rhino file version |
| saveSmall (bool) | whether to inlcude render meshes and preview image |
| saveTextures (bool) | whether to include the bitmap table |
| saveGeometryOnly (bool) | whether to write enything besides geometry |
| savePluginData (bool) | whether to write plugin user data |
Returns: true on success
Save doc as a 3dm to a specified path
Save doc as a 3dm to a specified path using the current Rhino file version
Parameters:
| file3dmPath (string) |
Returns: true on success
Save this document as a template to a specific Rhino file version
Save this document as a template
Parameters:
| file3dmTemplatePath (string) |
Returns: true on success
Selects a collection of contents in any editors they appear in.
Parameters:
| collection (RenderContentCollection) | A collection of RenderContents to select |
| append (bool) | Append to current selection |
Sets the description of the undo record currently being recorded. Use this to give the undo record of a running command, such as RunPythonScript, a meaningful name in Undo, Redo, and UndoMultiple.
Parameters:
| description (string) | The new description. Cannot be null, empty, or only white space. |
Returns: true if an undo record is active and its description was set.
Set the custom meshing parameters that this document will use. You must also modify the MeshingParameterStyle property on the document to Custom if you want these meshing parameters to be used
Parameters:
| mp (MeshingParameters) |
public bool SetCustomUnitSystem(bool modelUnits, string customUnitName, double metersPerCustomUnit, bool scale)
Changes the unit system to custom units and sets the custom unit scale.
Parameters:
| modelUnits (bool) | Set true to set values from the document's model unit system. Set false to set values from the document's page unit system. |
| customUnitName (string) | The custom unit system name. |
| metersPerCustomUnit (double) | The meters per custom unit scale. |
| scale (bool) | Set true to scale existing objects. |
Returns: true if successful, false otherwise.
Parameters:
| defaults (ConstructionPlaneGridDefaults) |
Sets the link address, or URL, for the model.
[EditorBrowsable(EditorBrowsableState.Never)]
public bool SupportsRenderPrimitiveList(ViewportInfo viewport, DisplayPipelineAttributes attrs)
Determines if custom render meshes will be built for this document (i.e. - GH meshes).
Parameters:
| viewport (ViewportInfo) | The viewport being rendered. |
| attrs (DisplayPipelineAttributes) | Type of mesh to build. If attrs is non-null then a smaller mesh may be generated in less time, false is meant when actually rendering. |
Returns: Returns true if custom render mesh(es) will get built for this document.
public void TimeoutActiveGet()
Exit the active get operation with a timeout
[EditorBrowsable(EditorBrowsableState.Never)]
public bool TryGetRenderPrimitiveBoundingBox(ViewportInfo viewport, DisplayPipelineAttributes attrs, out BoundingBox boundingBox)
Get the bounding box for the custom render meshes associated with this document (i.e. - GH meshes).
Parameters:
| viewport (ViewportInfo) | The viewport being rendered. |
| attrs (DisplayPipelineAttributes) | Attributes for the view mode you are supplying meshes for. Will be null if this is a modal rendering. |
| boundingBox (out BoundingBox) | This will be set to BoundingBox.Unset on failure otherwise it will be the bounding box for the custom render meshes associated with this object. |
Returns: Returns true if the bounding box was successfully calculated otherwise returns false on error.
Write information in this document to a .3dm file. Note, the active document's name will not be changed.
Parameters:
| path (string) | The name of the .3dm file to write. |
| options (FileWriteOptions) | The file writing options. |
Returns: true if successful, false on failure.
Write information in this document to a file. Note, the active document's name will be changed to that of the path provided.
Remarks: This is the best choice for general file writing. It handles making backups using temporary files, locking and unlocking, loading file writing plug-ins, and many other details.
Parameters:
| path (string) | The name of the file to write. |
| options (FileWriteOptions) | The file writing options. |
Returns: true if successful, false on failure.
Events
This event is raised when the active document used by modeless user interface changes. On Mac Rhino this will get raised before the NewDocument, BeginOpenDocument and EndOpenDocument events. Mac Rhino will also raise this event with 0 for the document Id and a null document pointer when the last document is closed. Windows Rhino will raise this event after the NewDocument, BeginOpenDocument and EndOpenDocument events when a new or existing model is opened.
Called if a new object is added to the document.
Called after objects are being transformed
Called before objects are being transformed
This event is raised when the document open operation begins. NOTE: On Windows, this event will be fired when a clipboard paste operation occurs, as Rhino opens a .tmp file in the User's Local folder with the contents of the pasted document.
Called if an object is deleted. At some later point the object can be un-deleted.
Called when all objects are deselected.
Called when object(s) are deselected.
Called when any modification happens to a document's dimension style table.
[EditorBrowsable(EditorBrowsableState.Never)]
public static event EventHandler<DocumentOpenEventArgs> EndOpenDocumentInitialiViewUpdate
obsoleteTypo: use EndOpenDocumentInitialViewUpdate
This event is raised after EndOpenDocument when the documents initial views have been created and initialized.
This event is raised after EndOpenDocument when the documents initial views have been created and initialized.
Called when any modification happens to a document's group table.
Called when any modification happens to a document's hatch pattern table.
Called when any modification happens to a document's instance definition table.
Called when any modification happens to a document's layer table.
Called when any modification happens to a document's light table.
Called when any modification happens to a document's linetype table.
Called when any modification happens to a document's markup table.
Called when a document's markup view state changes, i.e. when the document enters or leaves markup viewing/editing, or switches which markup is being viewed or edited. Unlike MarkupTableEvent (which reports markup add/delete/modify), this reports which markup is currently active so UI can indicate it.
Remarks: Switching directly from one markup to another first leaves the current markup, so the switch is reported as two events: an intervening MarkupMode.None (index -1) followed by the new markup. Handlers should treat each event as the current state.
Called when any modification happens to a document's material table.
Called when all object attributes are changed.
Called when any modification happens to a document's pageview group table.
Called if an object is being purged from a document. The object will cease to exist forever.
Called when the RenderTextureTable has been loaded, is about to be cleared or has been cleared. See RhinoDoc.RenderContentTableEventType for more information.
Called if an object is about to be replaced. If both UndoActive and RedoActive return false, then immediately after the ReplaceRhinoObject event, there will be a DeleteRhinoObject event followed by a AddRhinoObject event. If either UndoActive or UndoActive return true, then immediately after the ReplaceRhinoObject event, there will be a DeleteRhinoObject event followed by a UndeleteRhinoObject event.
Called when any modification happens to a document's section style table.
Called when object(s) are selected.
Called when any modification happens to a document objects texture mapping.
Called if an object is un-deleted.
Called when a change in the model units results in a scaling operation on all of the objects in the document. This call is made before any of the objects are scaled. A call to RhinoDoc.DocumentPropertiesChanged follows.
UserStringChanged
#This event is raised when document user text strings are changed
Raised after a worksession reference model has been attached to or detached from a document. The document state already reflects the change at the time the event fires.