locationcurve专题

revit API 获得 wall 真正 locationCurve

Curve GetWallRealLocationCurve(Wall m_wall){Curve oldCurve = (m_wall?.Location as LocationCurve)?.Curve;if (oldCurve == null){return null;}double baseOffset = 0;var param = m_wall.get_Parameter(BuiltI