GetRebarGeometry Method
Generates the geometry for a Rebar for a specific view. The filter view is allowed to be null, but no geometry will be generated if it is.

Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 17.0.0.0 (17.0.484.0)
Since:  2012

Syntax

C#
[ObsoleteAttribute("This method will be obsolete from 2017. Use Rebar.GetFullGeometryForView() instead.")]
public static GeometryElement GetRebarGeometry(
	Rebar rebar,
	View filterView
)
Visual Basic
<ObsoleteAttribute("This method will be obsolete from 2017. Use Rebar.GetFullGeometryForView() instead.")> _
Public Shared Function GetRebarGeometry ( _
	rebar As Rebar, _
	filterView As View _
) As GeometryElement
Visual C++
[ObsoleteAttribute(L"This method will be obsolete from 2017. Use Rebar.GetFullGeometryForView() instead.")]
public:
static GeometryElement^ GetRebarGeometry(
	Rebar^ rebar, 
	View^ filterView
)

Parameters

rebar
Type: Autodesk.Revit.DB.Structure..::..Rebar
The rebar element.
filterView
Type: Autodesk.Revit.DB..::..View
The view in which the geometry is generated.

Exceptions

ExceptionCondition
Autodesk.Revit.Exceptions..::..ArgumentNullException A non-optional argument was NULL

See Also