Skip to content

Commit 620402e

Browse files
committed
Taken bits from Andy's PR (seen too late).
1 parent e0db078 commit 620402e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ids-lib/IfcSchema/IfcSchemaVersionsExtensions.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ public static class IfcSchemaVersionsExtensions
2323
/// Canonical string version of the schema version
2424
/// </summary>
2525
public const string IfcSchema4x3String = "IFC4X3_ADD2";
26+
27+
/// <summary>
28+
/// Legacy string version of the IFC4X3 schema version
29+
/// </summary>
30+
public const string IfcSchema4x3StringLegacy = "IFC4X3";
2631

2732
/// <summary>
2833
/// Converts a set of IFC schema name strings to the relative enum value
@@ -39,6 +44,7 @@ public static IfcSchemaVersions GetSchema(IEnumerable<string> schemaStrings)
3944
IfcSchema2x3String => IfcSchemaVersions.Ifc2x3,
4045
IfcSchema4String => IfcSchemaVersions.Ifc4,
4146
IfcSchema4x3String => IfcSchemaVersions.Ifc4x3,
47+
IfcSchema4x3StringLegacy => IfcSchemaVersions.Ifc4x3,
4248
_ => IfcSchemaVersions.IfcNoVersion,
4349
};
4450
if (v == IfcSchemaVersions.IfcNoVersion)

0 commit comments

Comments
 (0)