ReadAutodesk.AddToScene (Environment, RegenOptions) Method
Public Overrides Sub AddToScene( _
ByVal environment As Environment, _
Optional ByVal ro As RegenOptions = null _
)
This language is not supported or no code example is available.
public override void AddToScene(
Environment environment,
RegenOptions ro = null
)
This language is not supported or no code example is available.
Parameters
- environment
- Environment
The Environment control used to add entities and other collections.
- ro
- RegenOptions
Asynchronous regeneration options
Exception type | Condition |
---|---|
Thrown when trying to add to the Environment a file with a root block but that also contains ReadFileAsync.Entities not belonging to any block. |
The default behaviour is to replace the environment root block with the one loaded from the file, if you don't want to replace it use ReadFileAsyncWithBlocks.AddToScene