Display full version of the post: Tricky Lisp Dimensioning Problem!

jpkibble
28.11.2010, 17:22
Hi,I've written a lisp routine which draws a vertical linear dimension by specifying the xy coords of Ext1, Ext2 then the location of the dimension text. After the dimension is created I need the user to be able to edit the dimension by grabbing the grip of extension line two and moving it up and down to suit their needs.....while keeping the dimension text in the  same location.The LISP creates the dimension just fine but when the user goes in and manually grips extension 2 and tries to move it up and down the associated text will sometimes start to move up and down with the dimension.I've played with the DIMTMOVE variable but this only works if the text has already been manually moved once. When using DimTMOVE It's like the dimension text is stuck to the dimension until it's been manually ripped off, then (and only then) will the text stay in the same location whatever you do to the rest of the dimension.Is there a way of freeing the dimension text from its associated dimension when you create it?(AutoCAD 2006)

HAWDesigner
13.12.2010, 23:20
jpkibble, have you figured this out?Have you looked at the system variables? There are a number of variables that you can set via LISP to control the value you want. I'm not quite sure which variable it is that you will need to change, but you can find them here: http://www.cadforum.cz/cadforum_en/variable.asp?ini=DTry: DIMASO or DIMASSOC

_mac
14.12.2010, 02:26

I think the variable you are looking for is DIMUPT. this controls where the user want to place his dimension text.
_mac2010-12-14 02:26:50