Eyeshot 10 WPF API Reference
SetCurrentStack Method

WPF Assembly > devDept.Eyeshot Namespace > EntityList Class : SetCurrentStack Method
The stack of BlockReferences to set as current (the bottom-most is the first parent, which must be in the Entities, the top-most is the last parent of the hierarchy). If null or empty, the current BlockReference is unset.
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 devDept.Eyeshot.Entities.BlockReference.AccumulatedParentsTransform
Sets a sequence of BlockReferences as current.
Syntax
'Declaration
 
Public Sub SetCurrentStack( _
   ByVal parents As Stack(Of BlockReference), _
   Optional ByVal updateBoundingBox As Boolean _
) 
public void SetCurrentStack( 
   Stack<BlockReference> parents,
   bool updateBoundingBox
)

Parameters

parents
The stack of BlockReferences to set as current (the bottom-most is the first parent, which must be in the Entities, the top-most is the last parent of the hierarchy). If null or empty, the current BlockReference is unset.
updateBoundingBox
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 devDept.Eyeshot.Entities.BlockReference.AccumulatedParentsTransform
See Also

Reference

EntityList Class
EntityList Members
SetParentAsCurrent Method
SetSelectionAsCurrent Method
SetCurrent Method