Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Translators Namespace / ReadFile Class / AddToScene Method / AddToScene(ViewportLayout,RegenOptions,Boolean,String) Method
The Viewport used to add entities and materials.
Asynchronous regeneration options
When true, it put the entities read from the OBJ 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 entities and materials, read from the Eyeshot file, to the Viewport.
    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 Viewport used to add entities and materials.
    ro
    Asynchronous regeneration options
    removeJittering
    When true, it put the entities read from the OBJ 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