Select Method (IRay)

Select Method (IRay) | Send Feedback
See Also

Res[out]
  True if the selected Ray was added to or removed from the current selection set, false if not

SelectFlag
  True to add the selected Ray to the current selection set, false to remove the selected Ray from the current selection set

Adds or removes the selected Ray to or from the current selection set.

# Syntax

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

C# |
--- | ---
    System.bool Select(
       System.bool SelectFlag
    )

JavaScript |
--- | ---
    Select(
       SelectFlag : Boolean
    ) : Boolean

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

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

#### Parameters

SelectFlag
  True to add the selected Ray to the current selection set, false to remove the selected Ray from the current selection set
Res[out] or Return Value
  True if the selected Ray was added to or removed from the current selection set, false if not

# See Also

####

IRay Interface
IRay Members
ISelectionManager::GetSelectedObject Method ()

# Availability

DraftSight V1R1.1