WorkSessionModelCount

Returns the number of models in the worksession, including the active model which might not be saved.

Syntax

Rhino.WorkSessionModelCount ()

Parameters

None.

Returns

Number

The number of models in the worksession if successful.

Null

If not successful, or on error.

Example

Dim nCount

nCount = Rhino.WorkSessionModelCount

MsgBox strName

Also See

WorkSessionFileName

WorkSessionModelAliases

WorkSessionModelNames