5.1 : Import IFC w/ Datasmith, loosing Tag

Hello,
I’m a currently using the UE 5.1(.1) version,
and i’m trying to import a IFC file with the tags (IfcDoor, IfcWindow etc.)

That was available on UE 4.27 (and worked, I had tested with the same file)

Anyone with the same issue ?

Thanks

It’s possible that there are compatibility issues when importing IFC files from UE 4.27 to UE 5.1.

I would suggest trying to export the IFC file from UE 4.27 using the latest version of the IFC export plug-in and import it into UE 5.1.

Trully sorry, I think there is a misunderstanding

On a projet on UE 4.27, when we import an IFC (via Datasmith),
StaticMeshActors on scene have always 2 tags : one is ifc ID, the other the type of Ifc Object

When in UE 5.1, when we import an IFC (always via Datasmith),

    1. The staticsMeshActors are part of actor (exemple : StaticMeshActor Door in UE 4.27 is now an Actor parenting 4 staticmeshactor)
    1. This actor has no tag.
    1. The Actors are now sort by Type (An empty actor named IFCDoor, is parenting All the actors door)

The problem is :
In a future, I will need importing IFC files in runtime (wich is not available now, but there is a discussion in wich a Staff says that will probably be available in 5.2)
So, I think it is better to start with a 5.1 project to have a smoothier update to 5.2
But in 5.1, I simply could not do a simple
“UGameplayStatics::GetAllActorsOfClassWithTag”

The questions are :

  • Is it a bug, to not have Tags ?
  • Is UGameplayStatics::GetAllActorsOfClassWithTag more efficient than getting all actors by name ? (like, it’s essential)
  • Is getting all actors under an Actor (the one that sort with a specific name) that disastrous ?

I forgot to say this,

I must not touch the IFC files.
And there will be custom IFC properties on the IFC object, which are on metada (in both UE 4.27 and, normaly in 5.1) but hey, one problem at a time :+1:

Ok, I did not search enough.

In 5.1, all IFC objects do not have tags

BUT

In the SceneComponent of all actors, there is all the data I was looking for (wich is, all the IFC data properties)

I do not know how to find actors by Metadata but at least, this QA is closed.

Have a good day :wave:

Oh great! I was just about to write to you again!

Best of luck with the project! :slight_smile: