Constructs an ExternallyTaggedGeometryObject associating a given ExternalGeometryId with a particular GeometryObject.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2022
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- externalId
- Type: Autodesk.Revit.DB ExternalGeometryId
The Id of the input geometry object.
- geometry
- Type: Autodesk.Revit.DB GeometryObject
The externally tagged geometry object.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions ArgumentException | geometry cannot be used with an ExternallyTaggedGeometry. -or- geometry must not be a Solid. |
Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was null |