Revit 2025.3 API
Geometry |
Computes a transformation of the geometric representation of the symbol
which generates this instance.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public GeometryElement GetSymbolGeometry( Transform transform )
Public Function GetSymbolGeometry ( transform As Transform ) As GeometryElement
public: GeometryElement^ GetSymbolGeometry( Transform^ transform )
member GetSymbolGeometry : transform : Transform -> GeometryElement
Parameters
- transform Transform
- The transformation to apply to the geometry.
Return Value
GeometryElementAn element which contains the computed geometry for the transformed symbol.

Exception | Condition |
---|---|
ArgumentException | Transform is not conformal |

The context of this instance object (such as effective material)
will be applied to the symbol.
Note that this method involves extensive parsing or Revit's data structures, so try to
minimize calls if performance is critical.
Geometry will be parsed with the same options as those used when this object was retrieved.
This method returns a copy of the Revit geometry. It is suitable for use in a tool which extracts
geometry to another format or carries out a geometric analysis; however, because it returns a copy
the references found in the geometry objects contained in this element are not suitable for
creating new Revit elements referencing the original element (for example, dimensioning).
Only the geometry returned by GetSymbolGeometry() with no transform can be used for that purpose.
See Also