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

.NET Framework

Supported in: 4.8

In this article

Definition