Select Method (IEntityHelper)

Select Method (IEntityHelper) | Send Feedback
See Also

Res[out]
  True if the specified entity was added to or removed from the current set, false if not

Obj
  Entity

SelectFlag

  True to add the specified entity to the current selection set, false to remove the specified entity from the current selection set

Adds or removes the specified entity to or from the current selection set.

# Syntax

Visual Basic |
--- | ---
    Function Select( _
       ByVal Obj As System.Object, _
       ByVal SelectFlag As System.Boolean _
    ) As System.Boolean

C# |
--- | ---
    System.bool Select(
       System.object Obj,
       System.bool SelectFlag
    )

JavaScript |
--- | ---
    Select(
       Obj : Object,
       SelectFlag : Boolean
    ) : Boolean

COM native C++ |
--- | ---
    HRESULT Select(
       IDispatch* Obj,
       VARIANT_BOOL SelectFlag,
       VARIANT_BOOL* Res
    )

C++ |
--- | ---
    DSRESULT Select(
       dsObject* Obj,
       bool SelectFlag,
       bool* Res
    )

#### Parameters

Obj
  Entity
SelectFlag

  True to add the specified entity to the current selection set, false to remove the specified entity from the current selection set

Res[out] or Return Value
  True if the specified entity was added to or removed from the current set, false if not

# See Also

####

IEntityHelper Interface
IEntityHelper Members
ISelectionManager::GetSelectedObject Method ()

# Availability

DraftSight V1R3.0