stranger problem

stranger problem

nucliabrasil
Advocate Advocate
1,211 Views
3 Replies
Message 1 of 4

stranger problem

nucliabrasil
Advocate
Advocate

Hello guys!
I'm realizing something strange in autocad. I'm using civil3d2016. I'm attaching an image. Entities have the same coordinates as x and y. How can this be that they are visually in different places?
Thank you.

0 Likes
1,212 Views
3 Replies
Replies (3)
Message 2 of 4

norman.yuan
Mentor
Mentor

I assume you DO know that coordinate values in AutoCAD is in type of Double. 2 float-point numbers are hardly EXACTLY the same. So, when you say "the same coordinates", it only mean they are considered the same, it only means the 2 numbers are closed enough (within given tolerance). And when AutoCAD's unit precision is set to hold certain numbers of decimals, 2 very closed Double/Single numbers may presented as the same visually for practice purpose. For example, 2.1234556, 3.123456 and 2.1234888, 3,123456 would be seen in AutoCAD's editor as 2.123, 3.123 when the unit's precision is set to 0.000. If that 2 numbers are used for coordinates of 2 line's end points, they would be considered at the same point, and show as connected at usual zoom level. But if you need to drawings more accurately and zoomed in deep enough, AutoCAD will show the tiny gap (because AutoCAD can zoom in/out as deep as you want, to show detail of an atom, or entire universe, theoretically).

 

So, nothing is strange here.

Norman Yuan

Drive CAD With Code

EESignature

0 Likes
Message 3 of 4

nucliabrasil
Advocate
Advocate

Ok, I get it. In fact, I import the autocad coordinates into a table in my database in a varchar field type. After I make the necessary operations, I then create the entities dynamically and insert them into autocad again by searching for these coordinates. The coordinates are stored as they come from the cad environment so it could not make any difference visually speaking. Or is there any specific configuration?
I thank the attention.

0 Likes
Message 4 of 4

Alfred.NESWADBA
Consultant
Consultant

Hi,

 

please upload the dwg-file with the entities you think are at the same coordinate (erase all the other geometry to make it more easy for us to find the items you are referring to).

 

- alfred -

------------------------------------------------------------------------------------
Alfred NESWADBA
ISH-Solutions GmbH / Ingenieur Studio HOLLAUS
www.ish-solutions.at ... blog.ish-solutions.at ... LinkedIn ... CDay 2026
------------------------------------------------------------------------------------

(not an Autodesk consultant)
0 Likes