Entity.GetSelection Method

Gets the entity selection status.
Public Function GetSelection( _ 
Optional ByVal parents As Stack(Of BlockReference) = null _ 
) As Boolean
This language is not supported or no code example is available.
public bool GetSelection( 
Stack<BlockReference> parents = null 
)
This language is not supported or no code example is available.

Parameters

parents
Stack<BlockReference>

The parents stack that define a nested instance

Return Value

bool

True if the entity is selected

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition