PopupEntitySelection(EntityCapabilities,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.
'Declaration
Public Overloads Shared Function PopupEntitySelection( _
ByVal capability As Utility.EntityCapabilities, _
ByRef entID As Integer, _
ByRef entName As String _
) As Boolean
public static bool PopupEntitySelection(
Utility.EntityCapabilities capability,
out int entID,
out string entName
)
Parameters
- capability
- Required. Holds the capability the entity must have to be selected.
- 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.