Constructs an ExternallyTaggedGeometryObject associating a given ExternalGeometryId with
a particular GeometryObject.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2022
Syntax
C# |
---|
public ExternallyTaggedNonBRep( ExternalGeometryId externalId, GeometryObject geometry ) |
Visual Basic |
---|
Public Sub New ( _ externalId As ExternalGeometryId, _ geometry As GeometryObject _ ) |
Visual C++ |
---|
public: ExternallyTaggedNonBRep( ExternalGeometryId^ externalId, GeometryObject^ geometry ) |
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 must not be a Solid. -or- geometry must not have sub-nodes. |
Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was null |