IMB Posted April 18, 2019 Share Posted April 18, 2019 Hello, I have the following code to point out a location in autocad: (defun c:lb (/ p x y ptcoord textloc) (while (setq p (getpoint "\nPick Point: ")) (setq textloc (getpoint "\nPick Label Location: ")) (setq x (rtos (car p))) (setq y (rtos (cadr p))) (setq ptcoord (strcat x ", " y)) (command "_LEADER" p textloc "" ptcoord "") ) ) Now I want to increase the size of the coordinates when inserting them into autocad. Does anybody have an idea how to change the code so that the coordinates will appear bigger in autocad? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
rkmcswain Posted April 18, 2019 Share Posted April 18, 2019 It's using the DIMSCALE * the Text Height specified in the current DIMSTYLE In my drawing for example, the text is coming out 7.2 units high. That's because my DIMSCALE = 40 and the text height in the current dimstyle is 0.18 40 * 0.18 = 7.2 So I would suggest changing the size of the text in the dimstyle. Quote Link to comment Share on other sites More sharing options...
BIGAL Posted April 19, 2019 Share Posted April 19, 2019 Setting dimtxt will change height of text the default is the value in the dim style. Dimstyle ht 0.25 Dimtxt 25 is 10x bigger. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.