buildingSMART Forums

Where can I find computer interpretable descriptions for IFC4Add2?

I see that IFC4Add2 offers computer interpretable listings, but although it is great, it doesn’t include any human descriptions for types or classes. Does this exist? If not, I suggest it be added, as it can be automatically parsed to produce documentation in vendors.

I do not understand the question. What you you mean with computer interpretable descriptions? Could you explain?

Sorry, I meant human descriptions, for instance on the computer interpretable page for Psets, it includes human descriptions e.g. the string “Date on which the overall condition is assessed”:

Whereas the other computer interpretable listings here do not include any human descriptions:

yes, but what are you missing? The inclusion of the description of classes and properties as comments directly in the EXPRESS or XSD code?

We didn’t do it. But you can automatically fetch each description by:
…://“release”/“addendum”/htmml/link/“name of construct”.htm

I am missing the human descriptions. E.G. each IFC class’ attribute tables have a “Description” column. For that IfcActor example, the description column for the TheActor attribute is "Information about the actor. " - this information is not present in the EXPRESS or XSD or any computer interpretable listing. Similarly, there are no descriptions present for any enum definitions, such as in - the enums are there in the XSD but do not have any human description.

I’d like to extract the human descriptions so that it can be used as information in an implementation to guide the user to enter in the right information.

I know it is possible to scrape HTML for the descriptions, but that is akin to scraping the UI, which is not a proper solution. That is why computer interpretable listings exist in the first place.

Can it be added to the EXPRESS / XSD for IFC4 and all future IFC releases?

If this isn’t resolved, I’d like to add this to the agenda for the ISG @jwouellette

It would be good if computers could extract human descriptions, so that they can be relayed on to users of the vendors.

Bump. Extracting these definitions would help in implementing UI descriptions to users in tools such as FreeCAD.

I had the same idea for IfcOWL too

It not only can help programmers know each entity and other types or classes inside the files, but also can used as a guidance inside the software (for instance as a hover) which guides user

However, for instance in IFC4 ADD2, there are 776 Entities, and over 2000 Types, Functions, Rules, Property Sets and Individual Properties

And IFC files come as pure/raw files, so it’s good have extra information inside the files

However, it seems that communities and software vendors have to do it themselves

P.S: What you’re looking for is here, inside the “IFCDOC”