ReadFileAsyncWithBlocksAndLayers.AddToSceneAsSingleObject (Environment, String, Int32, Color) Method

Adds to scene putting the entities inside a Block and creating a BlockReference referring to it.
Public Overrides Sub AddToSceneAsSingleObject( _ 
ByVal environment As Environment, _ 
ByVal blockName As String, _ 
ByVal layerIndex As Integer, _ 
ByVal color As Color
)
This language is not supported or no code example is available.
public override void AddToSceneAsSingleObject( 
Environment environment
string blockName
int layerIndex
Color color 
)
This language is not supported or no code example is available.

Parameters

environment
Environment

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

blockName
string

The block name

layerIndex
int

The destination layer index.

color
Color

The color assigned to the entities in the model

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition