Skip to content

DesignToFabricationConverter

Public Class

This class represents the MEP design to fabrication part convert tool.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.Fabrication.DesignToFabricationConverter

Namespace: Autodesk.Revit.DB.Fabrication

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

Syntax

public class DesignToFabricationConverter : IDisposable

The DesignToFabricationConverter type exposes the following members.

Constructors

Name

Description


Public Method
DesignToFabricationConverter

Creates a new instance of the DesignToFabricationConverter class.


Properties

Name

Description


Public Property
IsValidObject

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


Methods

Name

Description


Public Method
Convert

Converts the set of MEP design elements into fabrication parts.


Public Method

Releases all resources used by the DesignToFabricationConverter


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method
GetConvertedFabricationParts

Gets the set of element identifiers for newly created fabrication parts.


Public Method
GetConvertedFabricationPartsWithInvalidConnections

Gets the collection of converted fabrication parts with invalid connections.


Public Method
GetDesignElementAndFabricationPartsWithDifferentOffsets

Gets the collection of design elements that failed to convert and the associated set of fabrication parts with different offsets.


Public Method
GetDesignElementAndFabricationPartsWithOpenConnectors

Gets the collection of design elements that failed to convert and the associated set of fabrication parts with open connectors.


Public Method
GetElementsWithOpenConnector

Gets the set of fabrication part or MEP design element identifiers with open connectors, caused by fittings failing to convert.


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method
GetPartialConvertFailureResults

Gets the partial failure results.


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

Set a map for the conversion of in line family symbols to similar fabrication part types.


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)


Remarks

After a new instance of the class is created, call the Convert method to convert the MEP design elements into fabrication parts. Use the method SetMapForFamilySymbolToFabricationPartType to optionally convert family content to fabrication parts prior to calling Convert by providing a mapping of family symbols to fabrication parts types. If not set, then during conversion these families will remain and any connections to other converted elements will be maintained. After the convert method has been invoked, query the class to obtain more information about the conversion: