LISP Dimension text change and text conversion to second line

LISP Dimension text change and text conversion to second line

Anonymous
Not applicable
858 Views
2 Replies
Message 1 of 3

LISP Dimension text change and text conversion to second line

Anonymous
Not applicable

I'm looking to create a lisp routine to change the text of a selected associative dimension to a user specified number, in millimeters. The part I'm having a difficult time figuring out is converting the user specified number to inches which is placed below the mm number. Attached is an image of what I'm looking for.

 

I figured out how to manually enter the changes in the properties text override, 500\X(19 11/16), as well as changing the dimstyle to reflect what I'm looking for but overriding the text manually is too tedious for the dozens of dimensions in each dwg. And the dimstyle option doesn't work because our drawings are not to scale and the scale factor changes from dwg to dwg. Any ideas where to start?

 

Not sure if this matters or not but this style applies to horizontal and aligned dimensions as well.

DimExample.jpg

0 Likes
859 Views
2 Replies
Replies (2)
Message 2 of 3

devitg
Advisor
Advisor
Please upload your sample.dwg , with such dimension as you need to be
0 Likes
Message 3 of 3

Anonymous
Not applicable

@devitg here is an example of the dimension I'm looking for.

0 Likes