Drawings.SaveFile (String, Model, FileSerializer) Method
Public Overridable Sub SaveFile( _
ByVal fileName As String, _
ByVal model As Model, _
Optional ByVal fileSerializer As FileSerializer = null _
)
This language is not supported or no code example is available.
Parameters
- fileName
- string
File name.
- model
- Model
The model control.
- fileSerializer
- FileSerializer
The FileSerializer. Can be null/Nothing.
This command is based on Eyeshot proprietary file format. If the fileSerializer param is null, it skips some particular Autodesk properties like XData and your custom entities. If you want to run the operation asynchronously, use the WriteFile class in conjunction with Environment.StartWork method.