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.
Hi I have a LISP that creates a new layer and names it whenever I open a new drawing, which has been a real timesaver to me. My question is, how can I add other commands into this LISP, for example...
as the title says, i would like to be able to continue a simple lisp i have for DView TWist so that i can enter the twist angle and then have the crosshairs automatically revert to UCS...
I am trying to make the values 25.5 and 26.5 variables, in the filter list example below:
(-4 . ">")
(40 . 25.5)
(-4 . "<")
(40 . 26.5)
I'm getting AutoCAD.Application Not applicable error on this below code while execute "(vlax-invoke ob1 'intersectwith ob2 mod)". If any one support on this.
Thanks in advance
I am using an INSERT block (attached) to extract coordinate values using ATTEXT, I am having to click the points I want the block to attach to and then give it a point name, I use 1,2,3,4.... and so...
hello i need a lisp that change a block or all blocks in a drawing to byblock on layer 0 it is possible?
I try to the lisp attached to draw graph,but when I run the lisp it stops with a message "data file graph.csv not found.Could anybody please help me to solve the issue.
Hi Lee, been using this code in daily basis, Just a quick question. Would it be possible to add "plot to PDF" after it changes the attribute values?
I have some problem about this lisp code
I want to attch DWG file to autocad map 3d
when I run code it was prompt this error
This is a error prompt:
I am looking for a LISP routine that can display a list of MText contents.
The reason is to help me when checking drawings with different pipe sizes.
The list of different MTexts are:
I need lisp about this subject.
I have 50 drawings in one dwg.
All drawings size A3.
I want to plot the drawings to PDF.
50 seperate pdf or 1 pdf but multipage that has 50 page. A page...
Please tell me how to open a web page using Lisp?
Using the browser Internet explorer.
I have done some searching and have come across this code from Lee Mac.
(defun c:ib ( / *error* a b bfn blk cmd i j sel spc )
(defun *error* ( msg )
As posted at the Swamp, I wanted to share this here too...
Having written the first draft of my old 'Global Attribute Editor' program almost three years ago, I thought it was about time I offered...
I have CSV file, and it contains Layer name,Lines and Poly lines coordinates. how to develop lines and LWpoly lines by CSV file data with help of lisp routine? i have already created layer...
I've been using several simple lisps like the one below to select various different objects using their object entities. What I'm wondering is can anyone help me to work out how to similarly select...
im new here, so dont be mad if i request something that has been already written.
so, as the title says, i need a lisp routine that changes attributes of block.
specificaly i need to...
Greetings everyone ,
i have this lisp which select blocks by rotation angle but it select all blocks instances that have the same rotation angles i need to filter the result to select only the...
I've been working and trying to understand this code, with the help of Tedg and Lee Mac I'm able to achieve my desired result however i'm struggling to figure out why when i insert the additional...
I need a command that will prompt the user to select objects and then trace around the outside of those objects with 4" or so of space. Though I know I could just do this manually, I typically do...
Hi I need help from masters of LISP to a routine.
When I use the "overkill" command in Autocad, duplicate entities are deleted. Now, i want to a similar routine, which detects duplicate entities,...
I should get the following code changed so that you can select the blocks you want to 'undynamic" first.
Can somebody help me?
This is a program I posted over at theSwamp.org, but I thought I'd share it with you guys here too.
Just a project I was working on recently, written for a bit of fun.
My problem is to write correctly command function for
(setvar "CHAMFERA" 2)
(setvar "CHAMFERB" 2)
(command "_chamfer" ...)
(setq a (entget (ssname ss 0))) ;first line
(setq x (cdr...
Inside my main LISP, the user is prompted to select 2 points on screen and I want to rotate the text based on those 2 clicks. I've tried to keep it simple and run the TORIENT command after the text...
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–2016