FabricationPartSizeMap
This class represents the fabrication part size map for straights allowing the sizes to be changed from a user interface for multiple straights with diffent sizes.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.Fabrication.FabricationPartSizeMap
Namespace: Autodesk.Revit.DB.Fabrication
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class FabricationPartSizeMap : IDisposable
The FabricationPartSizeMap type exposes the following members.
Constructors
Name
Description
Public Method
FabricationPartSizeMap(String, Double, Double, Boolean)
Creates a new instance of the FabricationPartSizeMap class.
Public Method
FabricationPartSizeMap(String, Double, Double, Boolean, ConnectorProfileType, Int32, Int32)
Creates a new instance of the FabricationPartSizeMap class.
Properties
Name
Description
Public Property
AllowMultipleServiceSizes
State flag to allow multiple services to include the same size.
Public Property
Depth
The depth of the straight.
Public Property
IsMappedProductList
Are the mapped sizes for a product listed fabrication part.
Public Property
IsProductList
Are the sizes for a product listed fabrication part.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public Property
MappedDepth
The mapped size for the depth of the straight.
Public Property
MappedProfileType
The mapped shape of the straight.
Public Property
MappedServiceId
The mapped service identifier of the straight.
Public Property
MappedWidthDiameter
The mapped size for the width or diameter of the straight.
Public Property
PaletteId
The palette identifier of the straight.
Public Property
ProfileType
The shape of the straight.
Public Property
ServiceId
The service identifier of the straight.
Public Property
SizeString
The size display string for the straight that can be used by the user interface.
Public Property
WidthDiameter
The width or diameter of the straight.
Methods
Name
Description
Public Method
Dispose
Releases all resources used by the FabricationPartSizeMap
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)
Remarks
This is used as the data container for the FabricationPartSizeMapSet typeDef for crs:Set or Autodesk.Revit.DB.Fabrication.FabricationPartSizeMap for ISet so a list of sizes can be generated to allow the user to select a size and map it to another.