Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / EntityList Class / SetParentAsCurrent Method
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

In This Topic
    SetParentAsCurrent Method
    In This Topic
    Sets the parent of the current BlockReference (if it exists) as current.
    Syntax
    'Declaration
     
    Public Sub SetParentAsCurrent( _
       Optional ByVal updateBoundingBox As Boolean _
    ) 
    public void SetParentAsCurrent( 
       bool updateBoundingBox
    )

    Parameters

    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
    Remarks
    When the parent is set as current, the current 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 Entities. The devDept.Eyeshot.Entities.Entity.BoxMin and devDept.Eyeshot.Entities.Entity.BoxMax are also updated.
    See Also