Method FindPartOccurrencesByActiveMaterial
FindPartOccurrencesByActiveMaterial(uint, OccurrenceList)
Find all part occurrence with a given material as active material (i.e. as seen in the rendering)
Declaration
[HandleProcessCorruptedStateExceptions]
public OccurrenceList FindPartOccurrencesByActiveMaterial(uint material, OccurrenceList roots = null)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | material | A material |
| OccurrenceList | roots | If specified, restrict the search from the given roots |
Returns
| Type | Description |
|---|---|
| OccurrenceList |