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.
I need some lisp that will increment text like this..
1R 1Y 1B 2R 2Y 2B 3R 3Y 3B...:):)
how would you retrieve vertices list out of a polyline without
using any of the vl-load-com functions?
all approach that come to your mind is greatly welcome!
Is there a way with touch a block select automatically similar block in selected reign of drawing via lisp code or command similar select? 8)
HI, I will try to make this as clear as possible. I have a lisp that offsets objects multiple times. For further processing, I need to list the objects in the reverse order as they were created by...
it's possible ctrl-x and ctrl-y embed in lisp routine and how?:?
So I have a lisp program that draws some attributes. I want to be able to write a lisp program that will change the value of the selected attributes and I want the CCTNUMBERS to be in chronological...
I'm looking to toggle a selection of layers that has the h- prefix.
Found this on the net but it seems to only turn on the layer.
Is there anything I missed or any other way?
Hi guys, we use the TABCORD lisp from this thread:
The only problem is, that it doesnt seem to...
I'm engaged in machinery industry, Use Autodesk Inventor drawing Parts and assembly.Some times ,I need to batch convert idw drawings into DWG format.
One parts ,One drawings, So,If...
Hi, a friend of mine asked me the other day to write him a lisp routine that gets the name of the blocks in the drawing, and puts the individual names as text at the block insertion point of each...
Ok so I found this code on the internet and what it allows me to do is select multiple boundaries to place a block on all of them but i have to highlight them all at once and have many layers and...
There are pretty lisp from Lee mac (IncArrayV1-4.lsp) , and are there a way for definition a variable for adding in operation someting this
that nn is :
(if (= nn 0)(setq...
Is there any way to update the command window?
Use as many loops, sometimes freezes autocad command window, and after he finished LOOPING updates all PRINTS commands.
Is there any way to...
I am here again after almost 1.5 years.
:(Unfortunately I was not in a position to have access to computers and internet, and :)fortunately the limitations has finished.
Hi this is a invitation to anyone able to help me.
I am trying to find a lisp that can calculate multiple areas sizes and insert a value for each areas size not total into the cad drawing all at...
Help, I keep getting this stupid error no function definition even though I have clearly defun it in my lisp.
(defun ISOCP3TEXT ()
(command "-style" "isocp3" "isocp.shx" "3" "1" "0" "no"...
I need a lisp to place text as per given data in notepad. Innotepad Coordinates and Text is delimited with Semicolon (;) symbol. Need toread from notepad and place text as per Coordinate.
Hi guys, Thanks for help!
Is there a cleaner / quicker way of achieving this;
(defun JHSETCOL1 ( / )
(if (not JHCOL1)
(setq JHCOL1 "7")
(command "-layer" "C" JHCOL1 "*inv*" "")
(command "-layer" "C"...
I've done several searches for a commands and/or LISP routine to overwrite an existing layer description with the same layer and description found in another file.
I have several...
Quick Background - I am so close to finishing my routine that will mass update our title block drawings from old company to new company. However in our mass library of drawings consist different...
I am new joiner in cadtutor and I am very much interested to learn writing LISP. Frankly I don't know any thing about lisp program rather than copying lisp files from internet.............I...
Here's the scenario:
- Let's say i recieve a file from.. idk an architect.. and i want all of their standard wall, dimension, text, sanitary, water, etc. layers changed to my own standard layers. I...
This might be a little tricky, but does anybody know of a lisp routine that can add a certain number to multiple dtext/mtext entities?
For example, I have a topographical survey in dwg...
Please some one help me is there any lisp for convert attribute definition(not block attribute) to text or mtext
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–2014