Click or drag to resize

ModelManagerIsOpen Method

Is Open Model

Namespace:  VIZCore3D.NET.Manager
Assembly:  VIZCore3D.NET (in VIZCore3D.NET.dll) Version: 2.8.24.1104 (2.8.24.1104)
Syntax
C#
public bool IsOpen()

Return Value

Type: Boolean
True : Open / False : NONE
Examples
C#
// VIZCore3D.NET Control
private VIZCore3D.NET.VIZCore3DControl vizcore3d;

private void AddFile(List<string> file, bool closeModel)
{
    if (closeModel == true && vizcore3d.Model.IsOpen() == true)
        vizcore3d.Model.Close();

    vizcore3d.Model.Add(file);
}
See Also