RhinoCommon API
Worksession Class |
Manages a list of models that are being used as reference geometry.

Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)

The Worksession type exposes the following members.

Name | Description | |
---|---|---|
![]() | 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 null 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 serialNumber for the wrksession while the application is running.
This is not a persistent value.
|

Name | Description | |
---|---|---|
![]() | Equals | (Inherited from Object.) |
![]() ![]() | FileNameFromRuntimeSerialNumber |
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 null is returned.
|
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | ToString | (Inherited from Object.) |

Rhino for Windows
Supported in: 6.8