Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot Namespace / ViewportLayout Class / SetColorDrawForSelectionAndUpdateIdItemsMap<T> Method
The selection parameters
The item corresponding to the GfxDrawForSelectionParams.FalseColorIndex. If null there is no conversion to perform on the falseColorIndex.
Index of the part (edge, face, vertex). If -1, the item is not a subPart
Index of the shell (Solid3D only)

In This Topic
    SetColorDrawForSelectionAndUpdateIdItemsMap<T> Method
    In This Topic
    Sets a coded color depending on the entity id.
    Syntax
    'Declaration
     
    Public Sub SetColorDrawForSelectionAndUpdateIdItemsMap(Of T As {New, ViewportLayout.SelectedItem})( _
       ByVal data As GfxDrawForSelectionParams, _
       ByVal item As ISelectableItem, _
       Optional ByVal partIndex As Integer, _
       Optional ByVal shellIndex As Integer _
    ) 
    public void SetColorDrawForSelectionAndUpdateIdItemsMap<T>( 
       GfxDrawForSelectionParams data,
       ISelectableItem item,
       int partIndex,
       int shellIndex
    )
    where T: new(), ViewportLayout.SelectedItem

    Parameters

    data
    The selection parameters
    item
    The item corresponding to the GfxDrawForSelectionParams.FalseColorIndex. If null there is no conversion to perform on the falseColorIndex.
    partIndex
    Index of the part (edge, face, vertex). If -1, the item is not a subPart
    shellIndex
    Index of the shell (Solid3D only)

    Type Parameters

    T
    Remarks
    Used by visible selection methods.
    See Also