Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / ViewportLayout Class / OpenFile Method / OpenFile(String) Method
File name

In This Topic
    OpenFile(String) Method
    In This Topic
    Restores the scene from disk, including entities and all the master collections (layers, blocks, etc.)
    Syntax
    'Declaration
     
    Public Overloads Overridable Sub OpenFile( _
       ByVal fileName As String _
    ) 
    public virtual void OpenFile( 
       string fileName
    )

    Parameters

    fileName
    File name
    Remarks

    This command is based on Eyeshot proprietary file format. It skips some particular Autodesk properties like XData and your custom entities. To include them, you need to use the devDept.Eyeshot.Translators.ReadFile class in conjunction with the FileSerializerEx or a devDept.Serialization.FileSerializer derived class with your custom entity definitions.

    See Also