Jump to content

Recommended Posts

Posted (edited)

Below is my lisp routine i know the pause pause interrupts the points but i cant figure out how to replace the pause pause so i can make the qleader pick points.. I like the ability to stretch my leader when needed. Im very green when it comes to lisp routines so any help is appreciated 

 

(defun c:CCP () ;========================= CORNER CLOSURE PANEL W/LEADER
(command "-LAYER" "S" "DIM" "")
(command "QLEADER" PAUSE PAUSE "" "CORNER CLOSURE PANEL" "")
)


 

Edited by CADTutor
Code moved to code block
Posted

Problem is the number of pauses you need is dependant on the current qleader settings.

Frank Whaley at Autodesk created qlset.lsp that can set any qleader settings to fit whatever you want to do with your qleader lisp and reset those settings afterwards if you wish.

I've attached qlset.lsp and lead.lsp I wrote years ago as an example you can modify to suit your needs.

I'd suggest  reading Frank Whaley's code first to see all it can do. If you search for qlset.lsp you'll find many other examples.

lead.lsp qlset.lsp

  • Like 1

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...