GetGeometryFromInplaceWall Method


Obtains a special snapshot of the geometry of an in-place wall element suitable for export.

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

Syntax

C#
public static GeometryElement GetGeometryFromInplaceWall(
	FamilyInstance pFamInstWallElem
)
Visual Basic
Public Shared Function GetGeometryFromInplaceWall ( _
	pFamInstWallElem As FamilyInstance _
) As GeometryElement
Visual C++
public:
static GeometryElement^ GetGeometryFromInplaceWall(
	FamilyInstance^ pFamInstWallElem
)

Parameters

pFamInstWallElem
Type: Autodesk.Revit.DB FamilyInstance
The in-place wall instance.

Return Value

The in-place wall geometry. Returns a null reference ( Nothing in Visual Basic) if there is no special geometry for the wall needed for export; the standard geometry of the wall can be used.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentNullException A non-optional argument was NULL

See Also

ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →