Creates a new instance of the FabricationPartSizeMap class. 
Namespace: Autodesk.Revit.DB.Fabrication
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since:  2018.2 
Syntax
| C# | 
|---|
|  | 
| Visual Basic | 
|---|
|  | 
| Visual C++ | 
|---|
|  | 
Parameters
- size
- Type: SystemString
 The size display string for the straight that can be used by the user interface.
- widthDiameter
- Type: SystemDouble
 The width or diameter of the straight.
- depth
- Type: SystemDouble
 The depth of the straight.
- isProductList
- Type: SystemBoolean
 Set if the straight a product list or not.
Exceptions
| Exception | Condition | 
|---|---|
| Autodesk.Revit.ExceptionsArgumentNullException | A non-optional argument was null |