PopupEntitySelection(EntityCapabilities,Int32,Int32,String) Method
- Last UpdatedNov 06, 2025
- 1 minute read
The PopupEntitySelection() method opens the Entity dialog, which allows entities to be selected based on a specified capability.
For this overload of the method:
- All entities in the entity tree can be seen, but only entities with the specified capability can be selected.
- One entity can be singled out to be unselectable even if the entity has the specified capability.
'Declaration
Public Overloads Shared Function PopupEntitySelection( _
ByVal capability As Utility.EntityCapabilities, _
ByVal excludedEntID As Integer, _
ByRef entID As Integer, _
ByRef entName As String _
) As Boolean
public static bool PopupEntitySelection(
Utility.EntityCapabilities capability,
int excludedEntID,
out int entID,
out string entName
)
Parameters
- capability
- Required. Holds the capability the entity must have to be selected.
- excludedEntID
- Required. Holds the ID of the entity to be excluded from selection even if it holds the specified capability.
- entID
- Output. Returns the ID of the selected entity.
- entName
- Output. Returns the name of the selected entity.
Return Value
Returns true if the user selects an entity.