ReadFileAsyncWithBlocks.FillBlocks Method
Public Sub FillBlocks( _
ByVal environment As Environment, _
Optional ByVal replaceRootBlock As Boolean = false, _
Optional ByVal ro As RegenOptions = null, _
Optional ByVal addBlockReference As Boolean = true _
)
This language is not supported or no code example is available.
public void FillBlocks(
Environment environment,
bool replaceRootBlock = false,
RegenOptions ro = null,
bool addBlockReference = true
)
This language is not supported or no code example is available.
Parameters
- environment
- Environment
The environment control.
- replaceRootBlock
- bool
When true, the root block of the Environment is replaced with the imported root block, if it exists.
- ro
- RegenOptions
Asynchronous regeneration options used for entities of the root block if it's replaced.
- addBlockReference
- bool
When true and the root block of the Environment is not replaced, add a new BlockReference on the origin that refers the imported root block.
If the replaceRootBlock flag is true but the loaded file doesn't contain a
root block, only the units of the environment root block are set with the loaded
units.