EntityList.SetParentAsCurrent Method

Sets the parent of the current BlockReference (if it exists) as current.
Public Sub SetParentAsCurrent( _ 
Optional ByVal updateBoundingBox As Boolean = true _ 
)
This language is not supported or no code example is available.
public void SetParentAsCurrent( 
bool updateBoundingBox = 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

Remarks
 
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.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition