Description:

Finds index of the material channel that refers to a material channel with the given id. Optionally adds channel if one is not found.

Syntax:
public int MaterialChannelIndexFromId(
Guid material_channel_id,
bool bAddIdIfNotPresent
)
Parameters:
  • material_channel_id
  • Type: System.Guid
  • Id
  • bAddIdIfNotPresent
  • Type: bool
  • Controls whether to add channel if none exist
Returns:
Type: int
Index of the material channel
Available since:
6.26

/
/
/
MaterialChannelIndexFromId

MaterialChannelIndexFromId method

Class:  Rhino.DocObjects.Material

Nothing found