Hey all, we're planning to migrate servers around Monday, so there will be a bit of downtime :) I can be contacted at dion@thinkmoult.com for anything urgent.

BlenderBim - Link Ifc file?

Hey folks, I am fairly certain I have used this in the past and it worked, but wondering now how to link an IFC file into another?
The button is right there in:
Scene Properties / IFC Project Setup / IFC Links / 'Link IFC' button

But once pressed it can't detect any of my IFC files?

Is there a step I am missing? Is anyone else experiencing the same thing?

Here is the ifc showing in the folder in windows explorer:

Comments

  • Unintitively, I believe it's the blender file... I think you need to maintain the blender\ifc connection.

    Ace
  • @theoryshaw said:
    Unintitively, I believe it's the blender file... I think you need to maintain the blender\ifc connection.

    Thanks Theoryshaw I completely forgot it worked that way, was just reading it here aswell:
    https://community.osarch.org/discussion/comment/13537/#Comment_13537

    Doesn't this break the Ifcness of it all? the link is just a physical reference and can't be used as an instance or anything

  • It absolutely is the blend file, it worked here:

    Unfortunately on reload of the main IFC file the link seems to be forgotten

  • I see 'typical unit', up there.... maybe you want to explore using aggregates.
    See https://github.com/IfcOpenShell/IfcOpenShell/issues/3101#issuecomment-1558264231
    Only problem currently, however: https://github.com/IfcOpenShell/IfcOpenShell/issues/3186

    Ace
  • ... and duplicating an aggregate within an aggregate, too, would be nice, as well: https://community.osarch.org/discussion/comment/15536/#Comment_15536

    Ace
  • @theoryshaw said:
    I see 'typical unit', up there.... maybe you want to explore using aggregates.
    See https://github.com/IfcOpenShell/IfcOpenShell/issues/3101#issuecomment-1558264231
    Only problem currently, however: https://github.com/IfcOpenShell/IfcOpenShell/issues/3186

    I think I will haha

  • Yes just a small problem :D hahahha

  • Just wanted to give this a gentle bump to see if 'Link IFC' is planned to one day link to an IFC directly or will need to work via a .blend always?
    It would be cool to be able to Link various IFCs into a single session - especially for coordination purposes. I am thinking something like linking two separate revisions of an IFC, and then using IFC Diff visualisation to create an interactive view of Added Changed Removed.
    I tried this using the existing .blend workflow but I don't think the IFC Diff visualisation 'sees' the IFC objects that are linked via .blend. Or perhaps I just did something wack.

  • @CSN try to see “BlenderBIM multiple ifc file coordination in same project", sorry i am not able to link it. I think for you is Better to merge files.

  • Thanks @Bimlooser - I know I could do it with merging IFCs into a single IFC and then loading this in. The query is more of a general one rather than coming up with a workaround for a specific issue.

  • You are right, Sorry. I focused on last words of your post.

  • edited March 22

    @CSN said:
    Just wanted to give this a gentle bump to see if 'Link IFC' is planned to one day link to an IFC directly or will need to work via a .blend always?
    It would be cool to be able to Link various IFCs into a single session - especially for coordination purposes.

    @Ace @theoryshaw @Bimlooser @peterpaul

    I don't know if you already knew this, but it is possible as of right now!! (using Blender 3.6.8 with BBIM 240321, maybe older versions too, haven't tested)

    It only looks at .ifc, not .blend type files anymore.

    Result:


    It's unfortunately not entirely without fault.
    I found these problems:

    • linked files do not save in ifc, after reopening the link is lost.
    • these buttons should work, but only the last 2 are 'clickable' or do something

    • sometimes the IFC is loaded in wrong, e.g. this version where (almost) everything is grouped together, coloured black and named a 'chunk' when selected. Only my stairflight and a door weirdly aren't (separately selectable, but they are included in the linked IFC just as the black chunk)

    Chunk hidden:

    the IFC when opened normally as a project:

    • and lastly a colleague tried to link 2 big ifc files to correct the 0-point, but the linked ifc never showed up in the 3D viewport and collection. It did however in the linked box thing... (only difference is this was blender 4.0 instead of 3.6.8). Tried this with file 1 normally opened and the file 2 linked and the other way around, but the linked file never shows up.

    So in conclusion:
    You can directly link multiple IFCs, which can either work fine or not. I don't know what triggers the problems.

    CSNsteverugiAceBimlooserOwura_quArv
  • Thanks for advising. Maybe try to Copy paste the post with attached files (if possibile) on bb GitHub in order to fix the isssues

  • Indeed, link IFC has been upgraded to a new but incomplete feature to load a readonly but fast view of the IFC. You can use the new explore tool to query individual objects. Blender objects are "chunked". The broken buttons are known issues. The links not being saved to IFC is by design right now, but definitely in the future we can include library references.

    • these buttons should work, but only the last 2 are 'clickable' or do something

    they should work now

    • sometimes the IFC is loaded in wrong, e.g. this version where (almost) everything is grouped together, coloured black and named a 'chunk' when selected. Only my stairflight and a door weirdly aren't (separately selectable, but they are included in the linked IFC just as the black chunk)

    can you please share some .ifc example?

    • and lastly a colleague tried to link 2 big ifc files to correct the 0-point, but the linked ifc never showed up in the 3D viewport and collection. It did however in the linked box thing... (only difference is this was blender 4.0 instead of 3.6.8). Tried this with file 1 normally opened and the file 2 linked and the other way around, but the linked file never shows up.

    Any errors opening those files in BlenderBIM separately (without linking)? Can you please share .ifc to reproduce the issue?

  • The Link IFC now uses a more correct way of false origin referencing than in the past, which can result in odd or "it's so far away!" situations if you don't know what you're doing (currently there is no auto false origin detection, this will be implemented in the future) or if you've set things up wrongly.

    In short, if your model uses large coordinates and you open the IFC, it will auto detect a false origin which is arbitrary and isolated to your Blender session. If you link the IFC, it will not auto detect a false origin. Instead, you need to state what you'd like as your false origin (when linking, see the settings in the file browser). Those coordinates will correlate to the Blender 0,0,0. This means that if you link together multiple IFCs, all with different false origins, things will still come through in the correct location relative to your nominated "federated" false origin.

    In the past, it might come through correctly, it might not, depending on luck. Admittedly we have pretty good "guessing" code, so users tend to get pretty lucky :) But now we can and should do better.

    RoelOwura_quArv
Sign In or Register to comment.