Robot Structural Analysis Forum
Welcome to Autodesk’s Robot Structural Analysis Forums. Share your knowledge, ask questions, and explore popular Robot Structural Analysis topics.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Rounding up coordinates (API)

Message 1 of 47
7861 Views, 46 Replies

Rounding up coordinates (API)

I am attaching small addin (private, not ADSK) for rounding up coordinates in Robot

You can add it to add-ins menu:

- as dll (the fastest method of getting results from robot) basing on from this thread starting from point 13

- as exe

or by running exe


It seems to work OK.



Rafal Gaweda
Message 41 of 47
in reply to: janis_mr

For those who wants to play with it in Excel - attachment

(for nodes only)

Rafal Gaweda
Message 42 of 47

Thanks Rafal!


If I may add one detail to rounding coordinates up. (my recent experience)

I had a model with sloped roof truss. It was created on imported AutoCAD dwg.

Node coordinates were a big mess.

Ok, I used the add in, worked perfectly,


As roof was sloped, the middle nodes (those between first and the last nodes on the roof slope) went out of a plane, so local view didn't show elements correctly.

(Detalied correct to a plane solved the problem.)


So, all of you guys using this great add-in, be careful rounding everything up when you have something that needs to be collinear.





If this solved your issue, please Accept it as Solution help other forum users with similar issues to find answers easily.
Mirko Jurcevic

My blog:
Try my Revit add-ins: Autodesk App Store
Message 43 of 47
in reply to: Rafal.Gaweda

It works, Very Helpful.


Message 44 of 47
in reply to: Rafal.Gaweda



At first, thank you very much for this API, it's very useful.
Unfortunately, after updating to Robot 2021, it does not work.

I'm not a VBA specialist, but I think the bug is somewhere in Excel itself.

When trying to update nodes after rounding them up, I get the message: "not a value in cell $D$9".

I have tried many times on different models - still the same error.
Does anyone know the solution to the problem?

Message 45 of 47
in reply to: mikepiT9JX4

Hi @mikepiT9JX4 


This warning has nothing to do with Robot.

Check windows settings decimal separator: comma vs dot.


Rafal Gaweda
Message 46 of 47
in reply to: Rafal.Gaweda

Yep, now it's works, thanks!

Message 47 of 47
in reply to: mikepiT9JX4

Continuing topic:


Neither the built-in Robot tools (detailed axis correction) nor several API macros uploaded here work in my case.

API macros work with rounded coordinates, but Robot makes no changes.

What to do to correct the garbage in the next decimal places of the nodal coordinates (for all selected nodes, cladding, panels) ?

I set the maximum available precision in the job properties, but it has no effect.

I picked it up through "suspected" zero forces from the cladding loads - see below.


generated load from claddings2.jpgprecision.jpg

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

Post to forums  

Autodesk Design & Make Report