ReadAutodesk.AddToScene (Environment, Boolean, RegenOptions) Method
Public Overrides Sub AddToScene( _
ByVal environment As Environment, _
ByVal replaceRootBlock As Boolean, _
Optional ByVal ro As RegenOptions = null _
)
This language is not supported or no code example is available.
public override void AddToScene(
Environment environment,
bool replaceRootBlock,
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.
- replaceRootBlock
- bool
When true, the root block is replaced with the one loaded from the file, if it exists.
- 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. |