Revit 2025.3 API
Exporter |
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.3.0.0 (25.3.0.0)
Syntax
public static CurveLoop GetInstanceCutoutFromWall( Document pADoc, Wall pVWall, FamilyInstance pFamInst, out XYZ pCutDir )
Public Shared Function GetInstanceCutoutFromWall ( pADoc As Document, pVWall As Wall, pFamInst As FamilyInstance, <OutAttribute> ByRef pCutDir As XYZ ) As CurveLoop
public: static CurveLoop^ GetInstanceCutoutFromWall( Document^ pADoc, Wall^ pVWall, FamilyInstance^ pFamInst, [OutAttribute] XYZ^% pCutDir )
static member GetInstanceCutoutFromWall : pADoc : Document * pVWall : Wall * pFamInst : FamilyInstance * pCutDir : XYZ byref -> CurveLoop
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
CurveLoopThe opening in the wall.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also