Shibuboss Posted February 16, 2010 Share Posted February 16, 2010 Hello everybody, How we can pick the value of a point's Z value with a leader like the attached image. A lisp can do this ? Autocad have the commands for this.Please advise Thanks in advance.. Regardso:) Quote Link to comment Share on other sites More sharing options...
NBC Posted February 16, 2010 Share Posted February 16, 2010 Sounds like a job for Multi-leaders and a block/or field Quote Link to comment Share on other sites More sharing options...
BearDyugin Posted February 16, 2010 Share Posted February 16, 2010 Variant the first - the dynamic block variant_1.dwg Quote Link to comment Share on other sites More sharing options...
BearDyugin Posted February 16, 2010 Share Posted February 16, 2010 The second variant - leader + Lisp Parametres of leader by default (defun c:geo_koord_leader (/ pod_z koord sign) (setvar "DIMZIN" 0) (initget "X Y Z") (setq geo_pod (if geo_pod geo_pod "Z") pod_z (getkword (strcat"\nSign [X/Y/Z] <"geo_pod">: ")) geo_pod (if pod_z pod_z geo_pod) ) (while (and (setq koord (getpoint "\nStarting point <Exit>:")) ) (setq sign (rtos (cond ((eq geo_pod "X")(car koord)) ((eq geo_pod "Y")(cadr koord)) (T (caddr koord))) 2 3)) (VL-cmdf "_leader" koord pause "" sign "") ) ) (princ "command name: geo_koord_leader") Quote Link to comment Share on other sites More sharing options...
Shibuboss Posted February 16, 2010 Author Share Posted February 16, 2010 Thanks a lot Geobuilder.I got it. Regards:D 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.