WorksessionGetModels Method |
The models in this worksession, including the active model.
Namespace:
Rhino.DocObjects
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntaxpublic WorksessionModel[] GetModels(
bool checkForUpdates
)
Public Function GetModels (
checkForUpdates As Boolean
) As WorksessionModel()
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:
WorksessionModelThe models in the worksession, or an empty array if there are none.
See Also