Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Custom Autocad Dimension with tolerance (HELP)

1 REPLY 1
Reply
Message 1 of 2
Anonymous
982 Views, 1 Reply

Custom Autocad Dimension with tolerance (HELP)

Before I attempt writing an autolisp for this.  Figured I would ask to see if anyone already has a program or can help me.

 

What I am looking to do it use autocad's dimensions but add a small change to it. hopefully it's small.

 

I'm looking for an autolip program that will first ask me what my tolerance is. (ie  +/- .005) and then once I answer that question.  The lisp program with automatical do the addition and subtract based on the line I clicked to dimension.  I included an image of what I would like it to look like in the end.  This dimension is .500 +/-.005.

 

sample:

step 1 - click on the lisp program

step 2 - click line you want to dimension or both end points (just like autocad dims)

step 3 - this is what I want it to say in autocad - "Enter Tolerance (.002)" .005 "enter"

step 4 - done  (see image)

 

I'm hoping using autocad dimensions i can then use autocad's dim style and modify dimensions much easier once a drawing is done.  Right now we are using a custom lisp program that we have to manually type the sizes.  It's an old program from R14. 

 

I'm using autocad 2014 & 2015.

 

thank you for any help.

 

 

1 REPLY 1
Message 2 of 2
3wood
in reply to: Anonymous

I reckon in your case, no need any routines.

Just set "Tolerances" tab and "Text" tab in your dimension style properly as shown below:

The only thing I haven't worked out is how to make the dimension line pass through both texts without break.

TOLERANCES.png

 

dim 2.png

 

You can also select multiple existing dimension objects and override current texts and style with additional tolerances information from Properties Pallette, as shown below:

TOLERANCES 2.PNG 

 

Here is the result of my test.

TOLERANCES 4.PNG

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

Post to forums  

AutoCAD Inside the Factory


Autodesk Design & Make Report