Connected BIM, Intuitive AI, RevitLookup and Fuzzy Comparison

We continue patrolling the well-trodden paths of BIM, AI, Revit precision and RevitLookup:

Connected BIM

Last week, I mentioned the momentous AI news that AlphaGo has now conclusively beaten mankind at the game of Go and is retiring from competitive play.

AI is not the only exciting thing happening with computers right now.

Much cheaper and more accessible technology with immediate and potentially revolutionary impact is provided by cheap sensors and connectedness, as explained in the Redshift article by Nicolas Mangon on the end of BIM as you know it – are you ready for connected BIM?

It discusses the combination of cheap sensors with GPS and connectivity, ending up with an outlook on AR and VR.

Intuitive AI

This in turn plays well with Maurice Conti's TED talk on The incredible inventions of intuitive AI, which also turns to the topic of connectedness towards the end:

What do you get when you give a design tool a digital nervous system? Computers that improve our ability to think and imagine, and robotic systems that come up with (and build) radical new designs for bridges, cars, drones and much more – all by themselves. Take a tour of the Augmented Age with futurist Maurice Conti and preview a time when robots and humans will work side-by-side to accomplish things neither could do alone.

Back to the Revit API:

Fuzzy Comparison

A regularly asked question came up again in the Revit API discussion forum thread on face curve loop last and next point:

Question: I don't understand why the end point of one curve and first point of next curve are not in exactly the same place when I examine the edges from the top face of a curved wall.

The curve endpoint coordinates differ in the last digits. As you can see, the last three digits are 655 and 612, respectively:

Curve endpoint digits differ

Due to this, I cannot get a closed curve loop.

Any solution or it is bug?

Answer: You need to implement a fuzzy comparison operator, since real-valued coordinates will almost never be exactly equal.

Here are a number of previous discussions of this topic:


RevitLookup 2018.0.0.1

Alexander Ignatovich, @CADBIMDeveloper, aka Александр Игнатович, once again added several enhancements to RevitLookup, our beloved and invaluable interactive Revit BIM database exploration tool to view and navigate element properties and relationships, in his pull request #34 – bugfixes and improvements.

Here are his commits:

Many thanks to Alexander for his continuous and efficient enhancement work!

Also note what a lot he achieves by modifying a very few lines of code.

I integrated his improvements in RevitLookup release 2018.0.0.1.