Environment.SetColorDrawForSelectionAndUpdateIdItemsMap<T> Method

Sets a coded color depending on the entity id.
Public Sub SetColorDrawForSelectionAndUpdateIdItemsMap(Of  _ 
T As {SelectedItem, New})( _ 
ByVal data As GfxDrawForSelectionParams, _ 
ByVal item As ISelectableItem, _ 
Optional ByVal partIndex As Integer = -1, _ 
Optional ByVal shellIndex As Integer = -1 _ 
)
This language is not supported or no code example is available.
public void SetColorDrawForSelectionAndUpdateIdItemsMap<T>( 
GfxDrawForSelectionParams data
ISelectableItem item
int partIndex = -1, 
int shellIndex = -1 

where T : SelectedItem, new()
This language is not supported or no code example is available.

Type Parameters

T

Parameters

data
GfxDrawForSelectionParams

The selection parameters

item
ISelectableItem

The item corresponding to the GfxDrawForSelectionParams.FalseColorIndex. If null there is no conversion to perform on the falseColorIndex.

partIndex
int

Index of the part (edge, face, vertex). If -1, the item is not a subPart

shellIndex
int

Index of the shell (Brep only)

Remarks
 
Used by visible selection methods.

.NET Framework

Supported in: 4.5, 4.6, 4.7

In this article

Definition