ReadFileAsyncWithBlocksAndLayers.AddToSceneAsSingleObject (Environment, String, 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 color As Color
)
This language is not supported or no code example is available.
public override void AddToSceneAsSingleObject( 
Environment environment
string blockName
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

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