Jump to content

How to write AUTOLISP ISOMETRIC DIMENSION like this?


Recommended Posts

Posted

So want pick pline, pick side, enter offset do isodim ?

 

Post dwg with samples before after.

Posted

I can't find a more convenient  pick dimension at present, as I like 1st Floor , it's better like a animation film

Posted
1 hour ago, BIGAL said:

So want pick pline, pick side, enter offset do isodim ?

 

Post dwg with samples before after.

Yes ,  hope you can help

Posted (edited)

Oops check dwg.

image.png.65c8ea131d1f942eecc7524c4820a0a3.png

 

Please post gif rather than RAR.

 

Ok did some more home work a google look for ISODIM.

 

So what is problem ?

Edited by BIGAL
Posted

Thank you Mr BIGAL

 

I read it and used it, but there is no response, and no message appears

Posted (edited)

I have had another look and that link is not the same ISODIM command as you show. Check the Autodesk apps store maybe Catalyst also.

Edited by BIGAL
Posted (edited)

@wk9128 Attached is one I wrote a while back. It's not exactly what you want. load the file into your drawing and type ISODIM.

 

limitations with this routine:

1) you have to be on the correct ISOPLANE when placing the dimension. Use CTRL-E to switch the ISOPLANE while placing the dimension.

3) The dimension text will look correct, but the dimension arrows will look a little off. In a future revision I may include Isometric custom arrowhead blocks.

3) The dimension points must be aligned in the current ISOPLANE or the measurement will not be correct.

Example: if the 2 points represent different edges of a step, or an edge to a hole, the dimension will measure directly across the 2 points instead of the actual linear dimension across the span. use implied object snapping to get your points aligned, then make a fake extension of the dimension extension line or centerline to make the dimension look correct.

 

I don't know of a better routine out there to dimension Isometric 2D drawings. If there was - I would probably be using it instead of this.

EDIT: I also have attached an updated version of your ISOMETRIC DRAWING Example after using my routine.

PJK-ISODIM.lsp

ISOMETRIC DRAWING.dwg

Edited by pkenewell
  • Like 1
Posted
2 hours ago, wk9128 said:

pkenewell, thank you for providing the LISP program, how to use your program? Can it be marked like AUTOCAD? Thank you

Load the PJK-ISODIM.lsp file into AutoCAD via APPLOAD or just drag and drop it into the drawing window. To run the program, type the command ISODIM at the command line.

Posted

Ok, give me some time to get familiar with how to operate and apply, thank you in advance pkenewell

  • Like 1
Posted (edited)
7 minutes ago, wk9128 said:

Ok, give me some time to get familiar with how to operate and apply, thank you in advance pkenewell

 

18 hours ago, pkenewell said:

limitations with this routine:

1) you have to be on the correct ISOPLANE when placing the dimension. Use CTRL-E to switch the ISOPLANE while placing the dimension.

3) The dimension text will look correct, but the dimension arrows will look a little off. In a future revision I may include Isometric custom arrowhead blocks.

3) The dimension points must be aligned in the current ISOPLANE or the measurement will not be correct.

Example: if the 2 points represent different edges of a step, or an edge to a hole, the dimension will measure directly across the 2 points instead of the actual linear dimension across the span. use implied object snapping to get your points aligned, then make a fake extension of the dimension extension line or centerline to make the dimension look correct.

 

OK. Just remember to note the limitations on the program as described in my earlier post. 👍

Edited by pkenewell
Posted

Hi pkenewell , Could the text mark direction provide with a ISOMETRIC DRAWING (1).dwg method?

Posted
On 4/5/2023 at 9:49 PM, wk9128 said:

Hi pkenewell , Could the text mark direction provide with a ISOMETRIC DRAWING (1).dwg method?

 

Sorry - I don't understand what you are asking for.

  • 10 months later...
Posted (edited)

Hi All. I have a new version of PJK-ISOdim.lsp attached. I updated the program to handle differences in text obliquing angle and rotation when using aligned text dimensions (i.e. when DIMTIH or DIMTOH are 0), so this should work whether you are using ANSI or ISO dimensioning styles.

 

 

PJK-ISODIM.lsp

Edited by pkenewell
  • 3 months later...
Posted
On 4/5/2023 at 6:42 AM, pkenewell said:

@wk9128 Attached is one I wrote a while back. It's not exactly what you want. load the file into your drawing and type ISODIM.

 

limitations with this routine:

1) you have to be on the correct ISOPLANE when placing the dimension. Use CTRL-E to switch the ISOPLANE while placing the dimension.

3) The dimension text will look correct, but the dimension arrows will look a little off. In a future revision I may include Isometric custom arrowhead blocks.

3) The dimension points must be aligned in the current ISOPLANE or the measurement will not be correct.

Example: if the 2 points represent different edges of a step, or an edge to a hole, the dimension will measure directly across the 2 points instead of the actual linear dimension across the span. use implied object snapping to get your points aligned, then make a fake extension of the dimension extension line or centerline to make the dimension look correct.

 

I don't know of a better routine out there to dimension Isometric 2D drawings. If there was - I would probably be using it instead of this.

EDIT: I also have attached an updated version of your ISOMETRIC DRAWING Example after using my routine.

PJK-ISODIM.lsp 12.93 kB · 34 downloads

ISOMETRIC DRAWING.dwg 110.84 kB · 14 downloads

Hi,

This is a great routine and definitely something that will be useful. I would like to modify 1 part though if it is possible you could point me in the right direction. At my work all our dimensions are done in paper space but when using this code it does not scale correctly to the items in model space.

 

Could you point me in the right direction to adjust this (if that is ok) as i am not really that competent with lisp coding. 

Posted (edited)

@bert77 Technically you don't need a change to the LISP program. You just need to set the Dimension Linear scale factor (DIMLFAC) to the inverse the scale of the viewport. (Example Viewport scale 1:2 or 1/2, set dimlfac to 2). You can also change this on existing dimensions easily using the Properties palette or the DIMOVERRIDE command.

 

P.S. an exception to this is if you are using DRAWINGVIEW objects instead of standard viewports with a 3D solid. Unfortunately the dimensions won't scale properly on isometric 3D solid views and I have no idea how to address that.

Edited by pkenewell
Posted

Thank you for your response, i will look it over. 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...