RhinoCommon API
MaterialRefsItem Property |
Gets or sets the element with the specified plug-in Id.
Namespace: Rhino.DocObjects
Assembly: RhinoCommon (in RhinoCommon.dll)

public MaterialRef this[ Guid key ] { get; set; }
Public Default Property Item ( key As Guid ) As MaterialRef Get Set
Parameters
- key
- Type: SystemGuid
The plug-in Id of the MaterialRef to get or set.
Return Value
Type: MaterialRefThe MaterialRef with the specified key.
Implements
IDictionaryTKey, TValueItemTKey
Exception | Condition |
---|---|
ArgumentNullException | value is null. |
ArgumentException | key is empty. |

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14