Touch and go

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:

Capture.png

Link to script here

So what it does is that it will prompt you to select elements in your model:Capture

And the result you get displayed in a Windows form:

Capture

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:

Capture

This is the code behind it

Capture

Simple – but elegant – and life again is good…

Advertisements
Posted in Uncategorized | 1 Comment

Get in the Swing…

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_2019-01-05-23-07-06.png

Enscape makes things look cool..

And the day has been great…

Posted in Uncategorized | Leave a comment

Schools out…

Our geek in the basement made a point – BILT Academy

Posted in Uncategorized | Leave a comment

Dearest creature in creation…

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…?

Capture

249.9940 mm…

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…

 

Posted in Uncategorized | 1 Comment

I cant remember my own name…

Madness – spot elevation madness…

Revit – as usual – something insanely mad – spot elevations in views bound to a tilted scope box…

Anybody following?

Noname

Red lines indicate the scope boxes…

The view looks like this…Noname.png

Now applying spot elevations – there are 3 different choices and 3 different outcomes…

First, no leader

Noname

Nah – German drawings do not look like this

Second: Leader and shoulder on

Noname

Nah, nah, nah – looking terrible

Third option – drumroll please – Leader on, shoulder off

Noname

Revit will never stop to amaze me in these regards…

And life is good…

Posted in Uncategorized | Leave a comment

Thank god it’s not X-mas…

IFC is the topic of the day – take a look. In any standard IFC viewer the file looks like this:

Noname

While in other IFC viewers it looks like this:

Noname

How come – let’s take a 3rd attempt at viewing the file:

Noname

And here is the culprit:

Noname

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

Noname

The missing line though was here:

Noname

Adding wall 645 – and here we go

Noname

IFC demystified… and Life is good…

 

Posted in Uncategorized | Leave a comment

Hidden by the dashboard…

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 areNoname.png

So we either have a single or multiple reveals in one wall. Now some Dynamo logic:

Capture

Let’s dissect this for once in a while since it took us some time to figure:

Noname

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

Noname

And then the piece-de-resistance

List Group by Key and Math Sum – Magik (“k” intended…):

Noname

And the result:

y

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…

Posted in Uncategorized | Leave a comment