| Revit 2022.1 API |
| FabricationPart..::..Specification Property |
| FabricationPart Class See Also |
The fabrication part specification identifier.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 22.0.0.0 (22.1.1.0)
Since:
2016
Syntax
| C# |
|---|
public int Specification { get; set; } |
| Visual Basic |
|---|
Public Property Specification As Integer Get Set |
| Visual C++ |
|---|
public: property int Specification { int get (); void set (int value); } |
Remarks
A value of 0 indicates the specification is set to undefined.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentException | When setting this property: the specification is invalid for the fabrication part. |
| Autodesk.Revit.Exceptions..::..InvalidOperationException | When setting this property: the specification is not able to be modified. -or- When setting this property: the fabrication part is connected to more than one item. -or- When setting this property: the specification fails to be set by identifier: specId. |