Skip to content

FabricationPartSizeMap(String, Double, Double, Boolean, ConnectorProfileType, Int32, Int32)

Public Constructor

Creates a new instance of the FabricationPartSizeMap class.

Namespace: Autodesk.Revit.DB.Fabrication

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public FabricationPartSizeMap(
string size,
double widthDiameter,
double depth,
bool isProductList,
ConnectorProfileType profileType,
int serviceId,
int paletteId
)

Parameters

sizeString

The size display string for the straight that can be used by the user interface.

widthDiameterDouble

The width or diameter of the straight.

depthDouble

The depth of the straight.

isProductListBoolean

Set if the straight a product list or not.

profileType ConnectorProfileType

Set the shape of the straight.

serviceIdInt32

Set the service identifier of the straight.

paletteIdInt32

Set the palette identifier of the straight.

Exceptions

Exception

Condition


ArgumentNullException

A non-optional argument was null


ArgumentOutOfRangeException

A value passed for an enumeration argument is not a member of that enumeration