| Revit 2022.1 API |
| FabricAreaType..::..CreateDefaultFabricAreaType Method |
| FabricAreaType Class See Also |
Creates a new FabricAreaType object with a default name.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.1.0)
Since:
2015
Syntax
| C# |
|---|
public static ElementId CreateDefaultFabricAreaType( Document aDoc ) |
| Visual Basic |
|---|
Public Shared Function CreateDefaultFabricAreaType ( _ aDoc As Document _ ) As ElementId |
| Visual C++ |
|---|
public: static ElementId^ CreateDefaultFabricAreaType( Document^ aDoc ) |
Parameters
- aDoc
- Type: Autodesk.Revit.DB..::..Document
The document.
Return Value
The newly created type id.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was null |