Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Translators Namespace / ReadAutodesk Class / AddToScene Method / AddToScene(ViewportLayout,Color) Method
The ViewportLayout used to add entities, layers and blocks.
The color assigned to the entities in the model.

In This Topic
    AddToScene(ViewportLayout,Color) Method
    In This Topic
    Adds to the ViewportLayout the entities loaded from the Autodesk file, along with layers and blocks. Blocks and layers contained previously in the Viewport are merged.
    Syntax
    'Declaration
     
    Public Overloads Overrides Sub AddToScene( _
       ByVal viewportLayout As ViewportLayout, _
       ByVal color As Color _
    ) 
    public override void AddToScene( 
       ViewportLayout viewportLayout,
       Color color
    )

    Parameters

    viewportLayout
    The ViewportLayout used to add entities, layers and blocks.
    color
    The color assigned to the entities in the model.
    See Also