Click or drag to resize

WorksessionFile Methods

The WorksessionFile type exposes the following members.

Methods
  NameDescription
Public methodAddModel
Adds a copy of a model to the end of the list.
Public methodClearModels
Removes all of the models.
Public methodDispose
Releases the native worksession.
Public methodDump
Describes the worksession: its version, and for each model its paths and saved layer settings. For each saved layer it gives its name and the settings Rhino uses.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Releases the native worksession.
(Overrides ObjectFinalize.)
Public methodStatic memberFromByteArray
Reads a worksession from the contents of a worksession file.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetModel
Gets a copy of a model.
Public methodGetModels
Gets copies of all of the models.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberRead
Reads a worksession file.
Public methodStatic memberReadFileVersion
Reads only the version from the header of a worksession file.
Public methodRemoveModelAt
Removes a model.
Public methodSetModel
Replaces a model with a copy of another.
Public methodToByteArray
Writes the worksession as the contents of a version 5 .rws file.
Public methodToByteArray(Int32)
Writes the worksession as the contents of a .rws file.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWrite(String)
Writes a version 5 worksession file.
Public methodWrite(String, Int32)
Writes a worksession file.
Top
See Also