Add a definition to be reused by instances. A definition is a collection of geometry objects. 
   Namespace:   Autodesk.Revit.DB  
  Assembly:   RevitAPI  (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0) 
  Since:  2015 
Syntax
| C# | 
|---|
   |  
| Visual Basic | 
|---|
   |  
| Visual C++ | 
|---|
   |  
Parameters
- id
 -  Type:  System String  
ID of the definition to be added. Must be unique. 
- GNodes
 -  Type:  System.Collections.Generic IList   GeometryObject  
Definition as a list of Geometry objects 
Exceptions
| Exception | Condition | 
|---|---|
| Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was NULL |