buildingSMART Forums

TAG. What does it mean and what is it for?

Hello, I have seen in Archicad, that there is an attribute TAG:

Soloarquitectura_TAG IFC

Does anyone know what that is, and what is it for?

The Tag attribute is located on IfcElement https://standards.buildingsmart.org/IFC/RELEASE/IFC4/ADD2/HTML/link/ifcelement.htm

The tag (or label) identifier at the particular instance of a product, e.g. the serial number, or the position number. It is the identifier at the occurrence level.

As I’ve seen it, an authoring application can use it to store it’s internal identifier for the element (many applications use a GUID which can be encoded to the GlobalId attribute, but others use an integer or other key). Often the application guid might be repeated without encoding in the tag. It might also be used to store a Project Identifier for the element.

2 Likes

There is a huge difference if it contains a user-controlled value (e.g. ARCHICAD Element ID or Revit Instance Mark) versus a software-controlled value (e.g. GUID or entity index/number). Unfortunately, based on a rather open description, the usage of that particular attribute differs between software.

A project-specific instance code (e.g. for the FMIS system) = should be user-controllable.
A serial number = defined by a manufacturer - should be user-controllable.

But this is something else than a guaranteed unique identification = should be software-generated (hence GUID, UUID).

Name and Number are good examples of user controllable attributes as well. Very important identification for the user!

1 Like

Thank you very much. In this case, it’s automatically generated by Archicad, but it could be modified by users. It’s an IfcIdentifier (thanks for the link). As it is said, “it allows an individual thing to be identified”. But we already have the GlobalId (that can’t be modified) for that purpose. I don’t see why this attribute could be useful. I’m not sure if I suppose export it in an Ifc (I am exporting it now).

You should fill it out if the receiver of your data requires it. Otherwise, it makes no sense bothering with it. As you can see from the official documentation, it is an attribute that allows serial or position number of products to be transferred. Might be that the element you are considering it for does not have either of those.

1 Like

Thank you all!

This opens a paradox that I’m sure you discussed about it a lot

GUID vs Namespace?

Those three are really good ideas, but will cause a big and inefficient database (especially in SQL-based databases)

Personally I don’t know GUID is good enough or not? When I see some companies like Pixar dropped it from their schemas/systems