Revit 2018 API |
EndTreatmentType..::..Create Method (Document) |
EndTreatmentType Class See Also |
Creates a new EndTreatmentType in a document.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 18.0.0.0 (18.2.0.0)
Since:
2017
Syntax
C# |
---|
public static EndTreatmentType Create( Document doc ) |
Visual Basic |
---|
Public Shared Function Create ( _ doc As Document _ ) As EndTreatmentType |
Visual C++ |
---|
public: static EndTreatmentType^ Create( Document^ doc ) |
Parameters
- doc
- Type: Autodesk.Revit.DB..::..Document
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL |