If the instance is hosted by a wall, this property returns the parameter value of the insertion point of the instance along the wall's location curve, as long as the family of the instance isn't work plane based.
Assembly: RevitAPI (in RevitAPI.dll) Version: 126.96.36.199 (188.8.131.52)
This works for instances with a host element that is of type Wall or is in the OST_Walls category only, including in-place ones.
|Autodesk.Revit.Exceptions InvalidOperationException||Only hosted instances whose family is not work plane based can support this functionality.|
|Autodesk.Revit.Exceptions InvalidOperationException||Only hosted instances of type Wall or in-place elements of category OST_Walls can support this functionality.|