Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Translators Namespace / ReadFileAsync Class / AddToScene Method / AddToScene(ViewportLayout,RegenOptions,Boolean,String) Method
The Viewport used to add the entities.
Asynchronous regeneration settings.
When true, it put the entities loaded from the file into a block, add a BlockReference that refers to that block and call the ViewportLayout.RemoveJittering().
The name of the block that will contain the selected entities. Can be null/Nothing.

In This Topic
    AddToScene(ViewportLayout,RegenOptions,Boolean,String) Method
    In This Topic
    Adds the entities loaded from the file to the scene.
    Syntax
    'Declaration
     
    Public Overloads Overridable Sub AddToScene( _
       ByVal viewportLayout As ViewportLayout, _
       Optional ByVal ro As RegenOptions, _
       Optional ByVal removeJittering As Boolean, _
       Optional ByVal blockName As String _
    ) 
    public virtual void AddToScene( 
       ViewportLayout viewportLayout,
       RegenOptions ro,
       bool removeJittering,
       string blockName
    )

    Parameters

    viewportLayout
    The Viewport used to add the entities.
    ro
    Asynchronous regeneration settings.
    removeJittering
    When true, it put the entities loaded from the file into a block, add a BlockReference that refers to that block and call the ViewportLayout.RemoveJittering().
    blockName
    The name of the block that will contain the selected entities. Can be null/Nothing.
    See Also