Model.SaveFile (String, Drawings, FileSerializer) Method
Public Overridable Sub SaveFile( _
ByVal fileName As String, _
Optional ByVal drawings As Drawings = null, _
Optional ByVal fileSerializer As FileSerializer = null _
)
This language is not supported or no code example is available.
Parameters
- fileName
- string
File name.
- drawings
- Drawings
The drawings control. Can be null/Nothing.
- 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.