EntityList.SetParentAsCurrent Method
Public Sub SetParentAsCurrent( _
Optional ByVal updateBoundingBox As Boolean = true _
)
This language is not supported or no code example is available.
Parameters
- updateBoundingBox
- bool
If true, updates the scene bounding box. Set it to false for better performances in off-screen methods that call this to just use the BlockReference.AccumulatedParentsTransform
When the parent is set as current, the current Environment.Entities are put back into the Block.Entities of the block
referred by the current BlockReference, the upper level entities are put back into the Environment.Entities.
The Entity.BoxMin and Entity.BoxMax are also updated.