WorksessionFileSetModel Method |
Replaces a model with a copy of another.
Namespace:
Rhino.FileIO
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 9.0
Syntaxpublic void SetModel(
int index,
WorksessionFileModel model
)
Public Sub SetModel (
index As Integer,
model As WorksessionFileModel
)
Parameters
- index
- Type: SystemInt32
Index of the model to replace. - model
- Type: Rhino.FileIOWorksessionFileModel
The model to copy.
Exceptions| Exception | Condition |
|---|
| ArgumentNullException | If model is null. |
| ArgumentOutOfRangeException | If index is out of range. |
See Also