ReadFileAsyncWithBlocksAndLayers.AddToScene (Environment, RegenOptions, Boolean, String) Method

Adds to the Environment control the entities loaded from the file, along with layers and blocks. Blocks and layers contained previously in the Viewport are merged.
Public Overrides Sub AddToScene( _ 
ByVal environment As Environment, _ 
Optional ByVal ro As RegenOptions = null, _ 
Optional ByVal removeJittering As Boolean = false, _ 
Optional ByVal blockName As String = null _ 
)
This language is not supported or no code example is available.
public override void AddToScene( 
Environment environment
RegenOptions ro = null, 
bool removeJittering = false, 
string blockName = null 
)
This language is not supported or no code example is available.

Parameters

environment
Environment

The Environment control used to add entities, layers and blocks.

ro
RegenOptions

Asynchronous regeneration options

removeJittering
bool

When true, it put the entities loaded from the file into a block, add a BlockReference that refers to that block and call the Environment.RemoveJittering method.

blockName
string

The name of the block that will contain the selected entities. Can be null/Nothing.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition