Eyeshot 10 WinForms API Reference
AddToScene(ViewportLayout,Boolean,String) Method

WinForms Assembly > devDept.Eyeshot.Translators Namespace > ReadFileAsyncWithBlocksAndLayers Class > AddToScene Method : AddToScene(ViewportLayout,Boolean,String) Method
The ViewportLayout used to add entities, layers and blocks.
When true, it put the entities loaded from the Autodesk 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.
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, _
   Optional ByVal removeJittering As Boolean, _
   Optional ByVal blockName As String _
) 
public override void AddToScene( 
   ViewportLayout viewportLayout,
   bool removeJittering,
   string blockName
)

Parameters

viewportLayout
The ViewportLayout used to add entities, layers and blocks.
removeJittering
When true, it put the entities loaded from the Autodesk 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

Reference

ReadFileAsyncWithBlocksAndLayers Class
ReadFileAsyncWithBlocksAndLayers Members
Overload List