RhinoCommon API
WorksessionModelCount Property |
Returns the number of models in the worksession. The active model will included
in this count whether or not it has been saved.
Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)

Property Value
Type: Int32
Rhino for Windows
Supported in: 6.8