Creates an empty family of a given category.
Namespace: Autodesk.Revit.DB.IFC
Assembly: RevitAPIIFC (in RevitAPIIFC.dll) Version: 22.0.0.0 (22.1.0.0)
Since: 2014
Syntax
| C# |
|---|
|
| Visual Basic |
|---|
|
| Visual C++ |
|---|
|
Parameters
- importerIFC
- Type: Autodesk.Revit.DB.IFC ImporterIFC
The importer.
- aDoc
- Type: Autodesk.Revit.DB Document
The document to create the family.
- catId
- Type: Autodesk.Revit.DB ElementId
The category id.
- familyName
- Type: System String
The family name.
Return Value
The created family id.Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions ArgumentNullException | A non-optional argument was null |