TheSwamp
Code Red => AutoLISP (Vanilla / Visual) => Topic started by: Amsterdammed on October 22, 2018, 05:01:32 PM
-
Hello there,
how can i read out the start point of a multileader in vlisp?
Thanks
Bernd
-
hello bernd,
(setq array (vla-GetLeaderLineVertices (vlax-ename->vla-object (car (entsel))) 0)) ; parameter "0" means: first leader
(setq lst (vlax-safearray->list (vlax-variant-value array)))
the first 3 values in variable lst are your start point coordinates.
regards
marco
-
Duplicate of:
http://www.theswamp.org/index.php?topic=54604