Click or drag to resize

MaterialRefsAdd Method (Guid, MaterialRef)

Add or replace an element with the provided key and value to this dictionary.

Namespace:  Rhino.DocObjects
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public void Add(
	Guid key,
	MaterialRef value
)

Parameters

key
Type: SystemGuid
The plug-in associated with this MaterialRef
value
Type: Rhino.DocObjectsMaterialRef
MaterialRef to add to this dictionary

Implements

IDictionaryTKey, TValueAdd(TKey, TValue)
Exceptions
ExceptionCondition
ArgumentNullException value is null.
ArgumentException key is empty.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.20
See Also