Announcements
Welcome to the Revit Ideas Board! Before posting, please read the helpful tips here. Thank you for your Ideas!
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Solve floating point errors starting visually

Solve floating point errors starting visually

Background:

In projects we get feedback that some of our grids don't seem to be 100% correct mathematically.

If we want to reproduce this, it is virtually impossible. It looks like Revit can move things 1.000000001 mm, but a user can't.

 

The idea:

There must be a reliable relationship between the number of digits Revit can 'display' and the way Revit creates floating point errors. Visually for starters.

And if possible, also in the invisible IT world. Because there ís logic in a digital building.

 

Considerations:

Every engineer understands that working with trigonometry, curves or infinite divisions (e.g. 1/3) produces strange or almost impossible floats. But if Revit shows a user she/he is copying a Grid 7200mm in a straight line. A user really expects the software to do this. And when a user moves or copies a collection of those grids, that user really expects the software to respect that relationship wherever the user looks.

 

Bonus:

Perhaps there should (also) be an API command to reset these floats to significant figures, based on specified arguments. At least to solve floating point errors in a rational orthogonal system. This will probably solve most of the user frustration on this topic.

Grids, Levels, Reference planes and Reference lines should be reliable objects to drive real geometry.

3 Comments
MOR-ConorMacken
Advocate

I think this often starts with a grid being imported from CAD or linked from CAD and traced over in Revit, rather than drawing them in Revit and then offsetting or copying.

 

I've taken to creating a dimension style with 8 decimal places to check on the grid line dimensions of models I'm sent before I link them into our own projects.

Mike.FORM
Advisor

We recently had this happen with a building that has several wings at differing angles and 2 of the wings were rotated to 59.999999999 degrees instead of 60. Luckily this was caught early enough that we could fix it but it was one of those things where we set up the grids and the ones for those angles likely had some arbitrary snap that shifted it the angle slightly off, and because our angular dimensions and units are set to only 2 decimal places we hadn't noticed it.

 

The only reason we did notice it was because we set up block plans and rotated them so that the wings long axis were horizontal on sheets and we noticed that vertical and horizontal lines were having that singular shift break in the lines.

teun_1
Participant

Like this ... 🙈 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea