Adds a copy of the input ExternallyTaggedNonBRep to this collection.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2024
Syntax
| C# |
|---|
public void Add( ExternallyTaggedNonBRep geometry ) |
| Visual Basic |
|---|
Public Sub Add ( _ geometry As ExternallyTaggedNonBRep _ ) |
| Visual C++ |
|---|
public: void Add( ExternallyTaggedNonBRep^ geometry ) |
Parameters
- geometry
- Type: Autodesk.Revit.DB..::..ExternallyTaggedNonBRep
The ExternallyTaggedNonBRep to be added.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentException | The ExternalGeometryId of geometry already exists in this collection. |
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was null |