Click or drag to resize

WorksessionGetModels Method

The models in this worksession, including the active model.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public WorksessionModel[] GetModels(
	bool checkForUpdates
)

Parameters

checkForUpdates
Type: SystemBoolean
True to fill in UpdateAvailable for each model. This compares a checksum of every referenced file against the one stored when the file was attached, so it touches the file system once per model and can be slow on a large or remote worksession. Pass false unless you need it.

Return Value

Type: WorksessionModel
The models in the worksession, or an empty array if there are none.
See Also