GetInstanceCutoutFromWall Method


Exporter IFCUtils Get Instance Cutout From Wall Method

Gets the curve loop corresponding to the hole in the wall made by the instance.

Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static CurveLoop GetInstanceCutoutFromWall(
	Document pADoc,
	Wall pVWall,
	FamilyInstance pFamInst,
	out XYZ pCutDir
)

Parameters

pADoc Document
The document.
pVWall Wall
The host wall.
pFamInst FamilyInstance
The hosted instance.
pCutDir XYZ
The direction of the hole relative to the location of the curve loop.

Return Value

CurveLoop
The opening in the wall.
Exceptions
Exception Condition
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 →