Questions from beginner to advanced. Tell us about good sources of free lisp and post your own routines for testing.Code posting guidelines
The "AutoLISP, VBA, the CUI & Customisation" forum has become a very lively part of the AutoCAD Forums and probably needs a structural review in order to acommodate growth in the future. I'm...
Code posting guidelines
When you are posting AutoLISP or VBA code in these forums, there are some simple guidellines you should observe in order to make life easier for you and for others.
_$ (PUTPAGESETUP "101" "PDF LEDGER")
; error: no function definition: VLAX-GET-ACAD-OBJECT
I found the following code which reads named page setups ans supposedly is able to set it up, but when...
Is there a way to determine as to what object the dimension is "associated" with?
I found this lisp rountine and it loads layers into AutoCad from a .csv file. It works great for the most part but I'm having touble when I use the "Freeze" column it hangs up. I'm...
i need a lisp which can convert the layers from excel to autocad. please do the needful.
note :- the layers,colour and linetype are only given in text forum.
I am wondering if one of you beautiful people can point me toward the right direction!
I have this code:
(defun C:TEST ( / )
(setq LNAME (strcase (GETVAR "LOGINNAME")))
I want to use some points in my blocks in order to clear where the user can start lines from? but I want this points to be clear, how do you work with ddptype via the lisp? I tried "-ddptype"...
I am trying to set up abill of materials for pipe iso using Bcount or lisp "Count" (lee Mac ) do I have to set the table for every iso?
I have creates dynamic blocks that are inserted using a lisp. Is there some way I can select blocks across multiple layouts and change the states once?
This will save me a lot of time if it is...
I have made an IF function. But it doesn't work. The code is below.
If the value of "l_kyl" is larger or smaller than "7" I want two different blocks to be inserted. It only takes the...
Is there any example of how to activate and deactivate the popup list when checking the a toggle box ?
Things like the one in Plot dialog . (when toggle "Fit to paper" is being checked ,...
Hello guys ... :)
I need an urgent help , and hope somebody can help me with it .
I have a drawing (mother drawing)that contains my standard layers , and in the other drawings i have the same...
Hi, I have a doubt regarding Mouse click actions in Autocad. Is there any possibilities to set a autocad command or lisp command to mouse right click. I mean tha if i click mouse right button...
I'm looking for a lisp which help to extend arc with its end grips... like stretch command but with same radius..
thanks & regards
First of all a pleasant and happy day for every one,
i need a lisp which can check for standard blocks used in the drawings.
if i have drawing of standard block. and i am...
Is there a lisp out there that when you click on a block that you then get a text paste stating the block name ?
here i have one problem
I am tryng to put POINTS to selected "DTEXT" objects
if the DTEXT justification is LEFT then it is working
; (setq pos(cdr(assoc 10...
Ok, here we go again,
Im getting addicted to it.
Am trying trying and trying.
I am giving the DCL 3 options to start, Opening the window sash from LEFT, RIGHT or from TOP.
I understand I...
It's possible I should take my question to another AutoCAD subforum first, but I'm guessing the answer over there will be no already, so I figured I should just bring it here and...
(setq stringNew "")
(foreach index '(0 1 2 3 4 5)
(rtos (+ (* index...
The automation codes I've written over the past months are deployed and the users are screaming about all the bugs. Some of the bugs are real bugs, but most of the complaints so far are personal...
I'm doing a full automation program in which no user input is allowed. One of the tasks I need to carry out is to copy an OLE object from Excel into the AutoCAD drawing and I've got that part working...
Working on combining some codes to get layout tabs rename to file name and add suffix (numbers or letters - thanks to CAB) to it. It is working fine except file extension keep writing into tab new...
I have a lisp that I added to the startup suite. Once I added it, saving and closing drawings, take forever. If I unload it from startup suite everything goes back to normal. What in a lisp could...
Does anyone have a lisp that will repeat offset for a list of values from a text that will allow the user to select the item to offset?
We do a lot of cross sections with map 3d and need someway...
Looking for some quick help, I am trying to plot all named views in Model Space via Lisp but im running into a few problems at the moment
the number of views in each drawing varies, i...
Use this control to limit the display of threads to those newer than the specified time frame.
Allows you to choose the data by which the thread list will be sorted.
Order threads in...
Note: when sorting by date, 'descending order' will show the newest results first.
Conceived, created and cared for by David Watson © 1996–2013