Revit 2018 API |
AnalyticalModelSurface..::..TopExtensionMethod Property |
AnalyticalModelSurface Class See Also |
The top extension method option.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.2.0.0)
Since:
2015
Syntax
C# |
---|
public AnalyticalAlignmentMethod TopExtensionMethod { get; set; } |
Visual Basic |
---|
Public Property TopExtensionMethod As AnalyticalAlignmentMethod Get Set |
Visual C++ |
---|
public: property AnalyticalAlignmentMethod TopExtensionMethod { AnalyticalAlignmentMethod get (); void set (AnalyticalAlignmentMethod value); } |
Remarks
Analytical model elements for walls support extension options, while those for floor or slabs do not.
If used on analytical model that do not support extension, exception InvalidOperationException will be thrown.
To chcek if analytical model support extension use HasExtension property.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentOutOfRangeException | When setting this property: A value passed for an enumeration argument is not a member of that enumeration |