IFC Documantation

Hi guys. I just joinned the forum wondering if any of you knows how to add an INV attribute using IfcDoc. I am pretty new to the software and the only thing I got is adding two attributes linking two entities and marking one of them as inverse of the other.

However, I would like to have just one attribute (one line between both entities) whose text indicates the name of both the direct and the inverse attribute.

Any ideas or suggestions on how to do this would be really appreciated!!!

Thanks!!!

I’ll try to upload a picture of what I’ve done.

Any advice in the meantime?

Thanks in advance!!

Sorry, No video but old-fashion screenshots…

In BOLD the steps proposed by SERGEJ…

I included the “time on video” reference in order to compare the manipulations on the tutorial video (https://www.youtube.com/watch?v=qU46JMf_nSk&feature=youtu.be and those of my screenshots.

1. Right-click on the the first node in the tree named “Scope” -> Insert -> Model View Definition

Time on video - 0:22 / 0:35

2. Right-click on the model view definition -> Insert -> Exchange Definition to add exchanges being covered by the MVD.

Time on video - 0:52 / 1: 27

image

3. Right-click on the model view definition -> Insert -> Table Definition to add concept roots.

Time on video – 6:15 to 6:21

image

image

4. Left-click on the definition and in the lower right part of the UI select the tab “Query”. In this same region click on “+” and select the IFC entity the concept root maps to.

Time on video 6:31 “… and that adds IfcSpace to the modelview”

image

image

5. Right-click on the concept root (table definition) -> Insert -> Column Definition to add concepts to the concept root.

Time on video 7:17 “…if you want to add a requirement…”

image

image

Configuring the concepts is done through the tabs in the lower right part of the UI.

Time on video 7:20 “…we can say Insert Concept…” to time 7:47

image

image

image

Please find attached a picture of what I mean.
I get to mark the attribute in the red circle as inverse of the attribute in the blue circle, but the latest should be removed automatically as it is already being defined through the inverse one, shouldn’t it?

I hope my explanation is not too confuse.

Thanks in advance!!!image

You should click on the attribute (red) and it automatically will be selected on the tree (on left side panel), then should copy it and add it inside the tree which another IfcRelDeclares is (blue)

If you click on each one you will see where is it inside the tree

Thanks, I know this

Just let us know the “Table Definition Name” came from where?
You wrote “manually” IfcSpace or when you choose IfcSpace, you see the IfcSpace name as a Table Definition name?

The issue is here, you have to “write manually all those Table Definitions”

Otherwise you can select them form query or from documentation area

Thank you for your answer. I can find them both in the tree:


But I don’t get what I should do with them. Do you mean copying an attribute from the tree and pasting it into the other? Can items be copied and pasted in the ifcDoc tool? The only option I get when I do right click on them is “Delete”.

Thanks a lot!!

I misunderstood

You have to add an attribute Type and its Inverse

Does it have the attribute? If yes, its type should be “ReelatingContext” and in inverse “Declares” or what you want to choose from possible ones

Sorry but I am pretty new to it and don´t get what you mean. Could you post an example or similar please?

Thanks a lot!!!

This is from buildingsmart web page and is what I would need:

image

Yes, I do it “manually”… Although I might’ve skip something on SERGEJ instructions…

What do you select in Inverse? Declares?

well I’ve just seen that my problem is not how to add an inverse attribute but how to represent it.
I opened the IFC4.1 standard and saw this:

image

just one line with both the direct and its inverse attribute.
However, when you click on the IfcRelDeclares entity it suddenly changes to this:
image

where you can see that there are actually two lines, each of them for one attribute (the direct one and the inverse one). So my question is how to make it to just show one line with both attributes on it?

Sorry about the confusion.

See this:

IfcRelDeclares. RelatingContext
(INV) Declares S[0:?]

So I explained how to choose Attribute “Type” and “Inverse”
This is Type: IfcRelDeclares. RelatingContext
This is Inverse: (INV) Declares

And a little bit down you see:
Aggregation which you can set different modes
For instance: S means Set
And [0:?] is its value which you can set in a window opens after Aggregation
But many times it has issues and doesn’t show things well

Yes, I know that but my question is about just one line linking both entities instead of two lines. Maybe it is clearer with this example:

When I first open the stardard this is what I see:


That’s two attributes (direct one and inverse one) in just one line (going from IfcRelAssignsToGroup to IfcGroup).

However, when I click on IfcGroup, it automatically changes to:
image
where you see they are actually independent attributes with one line each, which is what I have at the moment.

But I would like to have it like the first image, so what do I have to do to get that?

Thank you!!

Your issue is about modes

If you pick “Place Mode” you will see relationships separated
And if pick “Link Mode” you can add/draw new relationships
And “Select Mode” which is obvious

So when you see those relationships in first one separated, select it and see in attribute can add type and inverse or not? Can’t?

And what about if I have two separated relationship and want to see them together? I’ve tried changing modes and what I see is the same.

Personally I don’t see any strong logic in IfcDoc, however, it seems that if in “Place Mode” you click on the second entity which has relationships it will back to one

hahaha indeed, it doesn’t have logic at all.

Have you tried that? I’m on place mode and have clicked on both entities (IfcGroup and IfcRelAssignsToGroup) but it’s still the same.