2026 Class
Changes 2
C

DesignToFabricationConverter

Description:
This class represents the MEP design to fabrication part convert tool.
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:
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.Fabrication.DesignToFabricationConverter
public class DesignToFabricationConverter : IDisposable
Name Return Type Description Inherited From
C DesignToFabricationConverter(Document) None Creates a new instance of the DesignToFabricationConverter class.
Name Return Type Description Inherited From
M Convert(ISet<ElementId>, Int32) DesignToFabricationConverterResult
M Dispose() None Releases all resources used by the DesignToFabricationConverter
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetConvertedFabricationParts() ISet<ElementId> Gets the set of element identifiers for newly created fabrication parts.
M GetConvertedFabricationPartsWithInvalidConnections() IDictionary<ElementId,ElementId> Gets the collection of converted fabrication parts with invalid connections.
M GetDesignElementAndFabricationPartsWithDifferentOffsets() ElementId Gets the collection of design elements that failed to convert and the associated set of fabrication parts with different offsets.
M GetDesignElementAndFabricationPartsWithOpenConnectors() ElementId Gets the collection of design elements that failed to convert and the associated set of fabrication parts with open connectors.
M GetElementsWithOpenConnector() ISet<ElementId> Gets the set of fabrication part or MEP design element identifiers with open connectors, caused by fittings failing to convert.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetPartialConvertFailureResults() IList<PartialFailureResults> Gets the partial failure results.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M SetMapForFamilySymbolToFabricationPartType(IDictionary<ElementIdElementId>) DesignToFabricationMappingResult
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.