Click or drag to resize

WorksessionFileSetModel Method

Replaces a model with a copy of another.

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntax
public void SetModel(
	int index,
	WorksessionFileModel model
)

Parameters

index
Type: SystemInt32
Index of the model to replace.
model
Type: Rhino.FileIOWorksessionFileModel
The model to copy.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf model is null.
ArgumentOutOfRangeExceptionIf index is out of range.
See Also