Environment.SetCurrentStack Method
Public Sub SetCurrentStack( _
ByVal parents As Stack(Of BlockReference), _
Optional ByVal updateBoundingBox As Boolean = true _
)
This language is not supported or no code example is available.
Parameters
- parents
- Stack<BlockReference>
The stack of BlockReferences to set as current (the bottom-most is the first parent, which must be in the entities of the CurrentBlock, the top-most is the last parent of the hierarchy). If null or empty, the current BlockReference is unset.
- 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