GetOriginalGeometry Method

Returns the original geometry of the instance, before the instance is modified by joins, cuts, coping, extensions, or other post-processing.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)


public GeometryElement GetOriginalGeometry(
	Options options
Visual Basic
Public Function GetOriginalGeometry ( _
	options As Options _
) As GeometryElement
Visual C++
GeometryElement^ GetOriginalGeometry(
	Options^ options


Type: Autodesk.Revit.DB Options
The options used to obtain the geometry. Note that ComputeReferences may not be set to true.


This method returns the original geometry of the instance. The instance's geometry will reflect the values of all instance level parameters (e.g. reference levels for columns) and of the placement conditions (so a beam placed along a 20' long line will be 20' long). It excludes all modifications made to the geometry due to operations like joining, cutting, openings, coping, or extensions.

The geometry will not include the GeometryInstance typically returned when you access the geometry of a FamilyInstance via Element.Geometry. But GeometryInstances may be encountered if there are nested family instances within the family.

The geometry is returned in the coordinates of the FamilySymbol, not the coordinates of the instance. If needed, you can transform the returned GeometryElement using the GetTransformed() method, passing the results from GetTransform(), or some other user-defined transformation.

The geometry returned is from Revit's internal computations and does not represent actual Revit geometry. Thus, you cannot use it as a reference for other geometry.


Exception Condition
Autodesk.Revit.Exceptions ArgumentException Thrown when the options are not valid for this operation (ComputeReferences == true)

See Also