Closed IbrahimFahdah closed 5 months ago
When using a single IfcSchemaVersion, the passed value is ignored and the first value in IfcSchemaVersions.IfcAllVersions is used. Is this a bug?
public static IEnumerable GetConcreteClassesFrom(string topClass, IfcSchemaVersions schemaVersions) { if (schemaVersions.IsSingleSchema()) { SchemaInfo schemaInfo = GetSchemas(IfcSchemaVersions.IfcAllVersions).First(); ..... }
..... }
I think you're right. I'll have a better look.
When using a single IfcSchemaVersion, the passed value is ignored and the first value in IfcSchemaVersions.IfcAllVersions is used. Is this a bug?
public static IEnumerable GetConcreteClassesFrom(string topClass, IfcSchemaVersions schemaVersions)
{
if (schemaVersions.IsSingleSchema())
{
SchemaInfo schemaInfo = GetSchemas(IfcSchemaVersions.IfcAllVersions).First();
.....
}
..... }