Does anyone know if there is a way in the UI to set/get the global tolerance used in AutoCAD? I am trying to determine if the tolerance affects the results of certain operations performed in AutoCAD drawings.
Thanks.
-Chris
Solved! Go to Solution.
Solved by Jason.Piercey. Go to Solution.
That only seems to affect the display precision. The global tolerance is more of a "behind the scenes" setting used in various operations.
I don't believe there is a way to adjust AutoCAD's global calculation percision.
Is there a specific issue your are having?
Tolerance for what, precisely? Display in dimenions? Could you provide a concrete example?
Nothing specific. I have a template drawing in my project that I use as a base for other drawings. What I have noticed is that drawings that are created from the template behave differently than drawings created from scratch. With a bit of investigation I found that the reported global tolerance is different depending on which of the 2 methods used to create a drawing. This got me wondering if there was some way to set up a template so that it imposes a tolerance upon the system. It seems kind of odd that a drawing property could affect something like the global tolerance but I thought I would ask.
It's difficult to come up with a concrete example but I'll see what I can do.
This has nothing to do with the display precision. The global tolerance is used in AutoCAD as a way to determine if (say) 2 points are coincidental, or 2 lines are parallel. The global default tolerance defines the maximum distance within which the system accepts the input values as being the same. Certain operations will fail or behave differently with identical geometry because the tolerance is more relaxed. I'm just trying to determine how and when this tolerance value changes in my project.
You keep saying 'global tolerance' -- AFAIK there's no such beast in Acad, other than the constrainsts imposed by doing floating point arithmetic on a computer.
What and where are you seeing a value that is labeled 'global tolerance'?
The global tolerance does exist but I suspect the only way to access it is through the ObjectARX libraries. There is a good post here that describes a way to access the setting via the AutoCAD .NET api. I thought that there might be a way to access it by AutoLISP and I was hoping that there might be a UI in AutoCAD where it could be accessed. I think I have to accept what you and Jason.Piercey have stated - there is no way to set the tolerance.
Thanks for your help.