Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Translators Namespace / ReadFileAsyncWithBlocksAndLayers Class / AddToScene Method / AddToScene(ViewportLayout,RegenOptions,Boolean,String) Method
The ViewportLayout used to add entities, layers and blocks.
Asynchronous regeneration options
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() method.
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 to the ViewportLayout the entities loaded from the 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, _
       Optional ByVal ro As RegenOptions, _
       Optional ByVal removeJittering As Boolean, _
       Optional ByVal blockName As String _
    ) 
    public override void AddToScene( 
       ViewportLayout viewportLayout,
       RegenOptions ro,
       bool removeJittering,
       string blockName
    )

    Parameters

    viewportLayout
    The ViewportLayout used to add entities, layers and blocks.
    ro
    Asynchronous regeneration options
    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() method.
    blockName
    The name of the block that will contain the selected entities. Can be null/Nothing.
    See Also