It has been a while since the last post but it had been very busy here at Livingroomcraftz. Which is good.
We got deeply involved with IFC lately, having the need to aggregate models coming fromm various different authoring applications into a common reference model. And that is where the Good, the Bad and the Ugly in IFC comes to the surface.
Challenge number one – working with large geo-coordinates. You take your Revit Model and add geo-referencing
All good – now you export to IFC with geo-coordinates on:
Still all good – now your IFC is geo-referenced
But what if you want to get a geo-referenced IFC back into Revit?
Lets try this now:
And the result:
An empty sea of nothingness – elements have been created but simply do not display
The reason for this is that – in a geo-referenced – IFC-file Revit will take the Survey Point coordinates as the Project Origin coordinates. Given Revit’s 24.5 or something coordinate limitation this is doomed to fail.
Alternatives? Let’s try the help of ArchiCAD:
Open the file in ArchiCAD
Using the bim6x plugin to ArchiCAD export directly to Revit
And the result in Revit is:
Getting there – life is good…
So let’s play a little game of Touch and Go – the client request this time was to create a Dynamo script that would do the following:
- Allow selecting elements of various categories
- Get all available quantities out of the elements
- Display sums of quantities
Well here is the script:
Link to script here
So what it does is that it will prompt you to select elements in your model:
And the result you get displayed in a Windows form:
Nothing too fancy but getting to the Windows form display is in a way a noble idea because it is just a few lines of Python – see here:
This is the code behind it
Simple – but elegant – and life again is good…
A nice well documented workflow that our most beloved nerd worked out today… – find it here…
And life is good…
Before we call it a day – some eye candy…
Enscape makes things look cool..
And the day has been great…
Our geek in the basement made a point – BILT Academy
Holidays are play times – – and so we found the Autodesk viewer and started to throw models up in the cloud…
Nice – but why is my 250 mm concrete wall in Revit reporting 249.9940 mm in Autodesk Viewer…?
A new years tip for #Autodesk – can we start calculate geometry in Revit in something else then decimal inches? It’s only the US, Liberia and Myanmar using this unit system. The rest of the world suffers from Revit rounding errors.
Then life would be good…
Madness – spot elevation madness…
Revit – as usual – something insanely mad – spot elevations in views bound to a tilted scope box…
Red lines indicate the scope boxes…
The view looks like this…
Now applying spot elevations – there are 3 different choices and 3 different outcomes…
First, no leader
Nah – German drawings do not look like this
Second: Leader and shoulder on
Nah, nah, nah – looking terrible
Third option – drumroll please – Leader on, shoulder off
Revit will never stop to amaze me in these regards…
And life is good…
IFC is the topic of the day – take a look. In any standard IFC viewer the file looks like this:
While in other IFC viewers it looks like this:
How come – let’s take a 3rd attempt at viewing the file:
And here is the culprit:
Now that can’t work – walls outside the Default Project are probably not a good idea..
Let’s take this a step further
The first missing wall has n IFC Id starting 6xx
The missing line though was here:
Adding wall 645 – and here we go
IFC demystified… and Life is good…
Sometimes things are in plain sight but we don’t see them… like – pun intended – Revit reveals…
Objective was to grab all reveals hosted in a wall and sum their length up and write the sum into a parameter of the wall.
So there are
So we either have a single or multiple reveals in one wall. Now some Dynamo logic:
Let’s dissect this for once in a while since it took us some time to figure:
In Types reveals show up as wall sweeps – in categories > all elements of category they don’t show up at all BTW – so we have to take the reveals and work our way back to the walls
Which happens here – thanks to Copyright(c) 2015, Konrad K Sobon
And then the piece-de-resistance
List Group by Key and Math Sum – Magik (“k” intended…):
And the result:
And life of course is good again…
BTW – have you checked that reveals won’t subtract from the Wall area but do subtract from volume – kind of wired…
Something unusual – an AutoCAD (what ?!?) tip – but still noteworthy…
So we found ourselves in the position that we needed to compare 2 sets of PDFs – after long hours of getting the workflow right we settled on AutoCAD 2080 – importing the PDF from set A, overriding the colour, then importing set B to view the differences…
Which worked quite OK until, trying to select all entities in the DWG brought back – nothing.
So that is what we see after selecting all in AutoCAD
OK – all selected but Properties say – No Selection
After digging around I found this.
So – setting PROPOBJLIMIT to 0 we try again:
And all good – AutoCAD – oh boy…
Yikes – somebody overwrote elements by view in Revit. Nasty, because it needs to be manually reset…
Or does it?
Well – some little Dynamo to the help
The Python behind it:
Thanks go to Clockwork for the idea…
Life is good…