DesignToFabricationConverter
Description:
This class represents the MEP design to fabrication part convert tool.
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. After the convert method has been invoked, query the class to obtain more information about the conversion:
After a new instance of the class is created, call the Convert method to convert the MEP design elements into fabrication parts. After the convert method has been invoked, query the class to obtain more information about the conversion:
- GetConvertedFabricationParts. to get a set of element identifiers for the newly created fabrication parts.
- GetElementsWithOpenConnector. to get a set of fabrication part or MEP design element identifiers with open connectors, caused by fittings failing to convert.
public class DesignToFabricationConverter : IDisposable
| Name | Return Type | Description |
|---|---|---|
| DesignToFabricationConverter(Document) | None | Creates a new instance of the DesignToFabricationConverter class. |
| Name | Return Type | Description |
|---|---|---|
| Convert(ISet<ElementId>, Int32) | DesignToFabricationConverterResult | Converts the set of MEP design elements into fabrication parts. |
| Dispose() | None | Releases all resources used by the |
| GetConvertedFabricationParts() | ISet<ElementId> | Gets the set of element identifiers for newly created fabrication parts. |
| GetConvertedFabricationPartsWithInvalidConnections() | IDictionary | Gets the collection of converted fabrication parts with invalid connections. |
| GetDesignElementAndFabricationPartsWithDifferentOffsets() | IDictionary | Gets the collection of design elements that failed to convert and the associated set of fabrication parts with different offsets. |
| GetDesignElementAndFabricationPartsWithOpenConnectors() | IDictionary | Gets the collection of design elements that failed to convert and the associated set of fabrication parts with open connectors. |
| GetElementsWithOpenConnector() | ISet<ElementId> | Gets the set of fabrication part or MEP design element identifiers with open connectors, caused by fittings failing to convert. |
| GetPartialConvertFailureResults() | IList<PartialFailureResults> | Gets the partial failure results. |
| Name | Return Type | Description |
|---|---|---|
| IsValidObject | bool | Specifies whether the .NET object represents a valid Revit entity. |