Skip to content

FabricationPartSizeMap

Public 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

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

State flag to allow multiple services to include the same size.


Public Property

The depth of the straight.


Public Property

Are the mapped sizes for a product listed fabrication part.


Public Property

Are the sizes for a product listed fabrication part.


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Public Property

The mapped size for the depth of the straight.


Public Property

The mapped shape of the straight.


Public Property

The mapped service identifier of the straight.


Public Property

The mapped size for the width or diameter of the straight.


Public Property

The palette identifier of the straight.


Public Property

The shape of the straight.


Public Property

The service identifier of the straight.


Public Property

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


Public Property

The width or diameter of the straight.


Methods

Name

Description


Public Method

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.