Environment.GetAllVisibleEntities Method
Returns the list of all visible entities in the specified selection box in the active viewport.
Public Function GetAllVisibleEntities( _
ByVal selectionBox As Rectangle, _
Optional ByVal selectableOnly As Boolean = true _
) As Integer()
This language is not supported or no code example is available.
public int[] GetAllVisibleEntities(
Rectangle selectionBox,
bool selectableOnly = true
)
This language is not supported or no code example is available.
Parameters
-
selectionBox
-
Rectangle
Selection rectangle in screen coordinates
-
selectableOnly
-
bool
When true, checks the Entity.Selectable property, otherwise no.
Return Value
int[]
The list of entity indices.
.NET Framework
Supported in: 4.5, 4.6, 4.7