Click or drag to resize

WorksessionFileGetModel Method

Gets a copy of a model.

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public WorksessionFileModel GetModel(
	int index
)

Parameters

index
Type: SystemInt32
Index of the model.

Return Value

Type: WorksessionFileModel
A copy of the model. Changes to it are kept only after SetModel(Int32, WorksessionFileModel).
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionIf index is out of range.
See Also