RhinoCommon API
new_releases
RhinoCommon documentation has a new look. The old site can still be found here.
play_arrow
Rhino
play_arrow
Rhino.ApplicationSettings
play_arrow
Rhino.Collections
play_arrow
Rhino.Commands
play_arrow
Rhino.Display
play_arrow
Rhino.DocObjects
play_arrow
Rhino.DocObjects.Custom
play_arrow
Rhino.DocObjects.SnapShots
play_arrow
Rhino.DocObjects.Tables
play_arrow
Rhino.FileIO
play_arrow
Rhino.Geometry
play_arrow
Rhino.Geometry.Collections
play_arrow
Rhino.Geometry.Intersect
play_arrow
Rhino.Geometry.MeshRefinements
play_arrow
Rhino.Geometry.Morphs
play_arrow
Rhino.Input
play_arrow
Rhino.Input.Custom
play_arrow
Rhino.NodeInCode
play_arrow
Rhino.ObjectManager
play_arrow
Rhino.PlugIns
play_arrow
Rhino.Render
play_arrow
Rhino.Render.ChangeQueue
play_arrow
Rhino.Render.ChildSlotNames
play_arrow
Rhino.Render.CustomRenderMeshes
play_arrow
Rhino.Render.DataSources
play_arrow
Rhino.Render.Fields
play_arrow
Rhino.Render.ParameterNames
play_arrow
Rhino.Render.PostEffects
play_arrow
Rhino.Render.UI
play_arrow
Rhino.Runtime
play_arrow
Rhino.Runtime.InProcess
play_arrow
Rhino.Runtime.InteropWrappers
play_arrow
Rhino.Runtime.Notifications
play_arrow
Rhino.Runtime.RhinoAccounts
play_arrow
Rhino.UI
play_arrow
Rhino.UI.Controls
play_arrow
Rhino.UI.Controls.DataSource
play_arrow
Rhino.UI.Controls.ThumbnailUI
play_arrow
Rhino.UI.Controls.Thumbnaillist
play_arrow
Rhino.UI.Gumball
play_arrow
dotnetstart
home
/
Rhino.DocObjects
/
Worksession

Worksession class

Manages a list of models that are being used as reference geometry.

Derived Classes:

Namespace: Rhino.DocObjects
Worksession: references

keyboard_arrow_down
Properties (5)

Document

 
Gets the document that owns this worksession.

FileName

 
Returns the path to the open worksession, or .rws, file. If there is no worksession file open, or the active worksession has not yet been saved, then None is returned.

ModelCount

 
Returns the number of models in the worksession. The active model will included in this count whether or not it has been saved.

ModelPaths

 
Returns the paths to the models used by the worksession. If the active model has not been saved, then it will not be included in the output array.

RuntimeSerialNumber

 
Unique serial number for the worksession while the application is running. This is not a persistent value.

keyboard_arrow_down
Methods (2)

FileNameFromRuntimeSerialNumber(UInt32 runtimeSerialNumber)

 
Returns the path to the open worksession, or .rws, file. If there is no worksession file open, or the active worksession has not yet been saved, then None is returned.

ModelPathFromSerialNumber(UInt32 modelSerialNumber)

 
Returns the path to a model, used by the worksession, given a reference model serial number

Nothing found