2023 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
C DesignToFabricationConverter(Document) None Creates a new instance of the DesignToFabricationConverter class.
Name Return Type Description
M Convert(ISet<ElementId>, Int32) DesignToFabricationConverterResult Converts the set of MEP design elements into fabrication parts.
M Dispose() None Releases all resources used by the
M GetConvertedFabricationParts() ISet<ElementId> Gets the set of element identifiers for newly created fabrication parts.
M GetConvertedFabricationPartsWithInvalidConnections() IDictionary Gets the collection of converted fabrication parts with invalid connections.
M GetDesignElementAndFabricationPartsWithDifferentOffsets() IDictionary Gets the collection of design elements that failed to convert and the associated set of fabrication parts with different offsets.
M GetDesignElementAndFabricationPartsWithOpenConnectors() IDictionary 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 GetPartialConvertFailureResults() IList<PartialFailureResults> Gets the partial failure results.
M SetMapForFamilySymbolToFabricationPartType(IDictionary<ElementId, ElementId>) DesignToFabricationMappingResult Set a map for the conversion of in line family symbols to similar fabrication part types.
Name Return Type Description
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.