FabricationPartSizeMap Class

FabricationPartSizeMap Class

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
SystemObject
  Autodesk.Revit.DB.FabricationFabricationPartSizeMap

Namespace: Autodesk.Revit.DB.Fabrication
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.3.0.0 (25.3.0.0)
Syntax
public class FabricationPartSizeMap : IDisposable
Public Class FabricationPartSizeMap
	Implements IDisposable
public ref class FabricationPartSizeMap : IDisposable
type FabricationPartSizeMap = 
    class
        interface IDisposable
    end

The FabricationPartSizeMap type exposes the following members.

Constructors
 NameDescription
Public methodFabricationPartSizeMap(String, Double, Double, Boolean) Creates a new instance of the FabricationPartSizeMap class.
Public methodFabricationPartSizeMap(String, Double, Double, Boolean, ConnectorProfileType, Int32, Int32) Creates a new instance of the FabricationPartSizeMap class.
Top
Properties
 NameDescription
Public propertyAllowMultipleServiceSizes State flag to allow multiple services to include the same size.
Public propertyDepth The depth of the straight.
Public propertyIsMappedProductList Are the mapped sizes for a product listed fabrication part.
Public propertyIsProductList Are the sizes for a product listed fabrication part.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyMappedDepth The mapped size for the depth of the straight.
Public propertyMappedProfileType The mapped shape of the straight.
Public propertyMappedServiceId The mapped service identifier of the straight.
Public propertyMappedWidthDiameter The mapped size for the width or diameter of the straight.
Public propertyPaletteId The palette identifier of the straight.
Public propertyProfileType The shape of the straight.
Public propertyServiceId The service identifier of the straight.
Public propertySizeString The size display string for the straight that can be used by the user interface.
Public propertyWidthDiameter The width or diameter of the straight.
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the FabricationPartSizeMap
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
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.
See Also