FabricationConfigurationInfo.FindSourceFabricationConfiguration
Method
Description:
Finds the source fabrication configuration on disk which matches the input fabrication configuration.
Finds the source fabrication configuration on disk which matches the input fabrication configuration.
Remarks:
Fabrication configuration is matched by configuration GUID and version. The GUIDs are required to be the same. For version, we first try to match the version exactly. If Revit cannot find an exact match, then it looks for the closest version later than the input configuration, then the closest earlier version.
Fabrication configuration is matched by configuration GUID and version. The GUIDs are required to be the same. For version, we first try to match the version exactly. If Revit cannot find an exact match, then it looks for the closest version later than the input configuration, then the closest earlier version.
Syntax
public static FabricationConfigurationInfo FindSourceFabricationConfiguration(
FabricationConfigurationInfo fabricationConfiguration
)
Parameters
Parameter | Type | Description |
---|---|---|
fabricationConfiguration | FabricationConfigurationInfo | The fabrication configuration to match. |
Return Value
Type | Description |
---|---|
FabricationConfigurationInfo | The matching source fabrication configuration. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |