Hi thank you very much for the efforts, i tried your code but for some reasons nothing happen
You might need to install the visual lisp extensions? They aren't distributed with AutoCAD anymore.
As far as using the code goes, once you've got the extensions installed and the functions loaded in your file, instead of:
You would use the custom command giving it the list of points and any properties you want (e.g. the landing gap):
(Make_MLeader
(list pt1 pt2 pt3
) (list '
(LandingGap .
1.5)))
i am new to lisp and i dont know where or how to use it Thanks anyway.
That code will also require the visual lisp extensions if you haven't installed them; either way, that could would set the landing gap of the last inserted object (presumably the MLeader you just created). Be careful though, as if the last object you doesn't have the LandingGap property then it will produce an error.