DesignToFabricationConverter Class


Design To Fabrication Converter 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.
Top
Properties
Name Description
Public property IsValidObject Specifies whether the .NET object represents a valid Revit entity.
Top
Methods
Name Description
Public method Convert Converts the set of MEP design elements into fabrication parts.
Public method Dispose 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 SetMapForFamilySymbolToFabricationPartType 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 )
Top
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:
See Also