Creates a new EndTreatmentType in the specified document.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public static EndTreatmentType Create( Document doc )
Parameters
- doc Document
- A Document.
Return Value
EndTreatmentTypeReturns the newly created EndTreatmentType in the specified document.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |