Shibuboss Posted February 16, 2010 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
NBC Posted February 16, 2010 Posted February 16, 2010 Sounds like a job for Multi-leaders and a block/or field Quote
BearDyugin Posted February 16, 2010 Posted February 16, 2010 Variant the first - the dynamic block variant_1.dwg Quote
BearDyugin Posted February 16, 2010 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
Shibuboss Posted February 16, 2010 Author Posted February 16, 2010 Thanks a lot Geobuilder.I got it. Regards:D Quote
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.