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 all friends,
It seams that here the Lisp code working is so hot:wink:
I'm new to this forums and have a request to all those can working with Lisp code... Hope someone can help me too. (I...
Hi Guys, just a simple question because I'm trying to create a shortcut command for my multiline command. I know about END, PER, MID, INS, CEN, but what about mid-2pt, how should I write it?
Hey all. I am new to writing .lisp routines and this is my first post. I am having an issue with a version of txt2mtxt routine. I want to be able to run the below listed routine without manually...
quickly made a lisp and was wondering how do I remove the zero's
(defun c:test (/ dist p1 p2 ent)
(setq dist (rtos (distance
(setq p1 (getpoint "\nSpecify first point: "))
This is Krishna....can any one help me how to Copy Autocad Text to Excel using VBA
So I looked around a little bit, but I didn't see much on the subject. I was wondering if you could use the datalink utility in 2009 to update block attributes via Excel using LISP or other means...
autolisp & suggestion how to improve this lisp
thx for help
(defun c:IC (/ intlist ptemp sset set0 set1 selset
e lay lay0 i k l n ...
if I have a layout where I have places some screw tap and screws, but during the layout phase the engineer has move these from being on a .005 snap to some other funky decimal, is there a lisp...
Looking for a lisp that can look at the coordinate X and Y of and object, like X 1.256998856, Y 1.25366544556945 and move it to .005 snap. (X1.260, Y 1.250)
Can anyone point me in the right...
Below is a layer color changing lisp that I use alot. I was wondering if someone could help me modify it to ignore locked layers. Any help would be greatly appreciated!
I was just messing around yesterday and came up with these two LISPS. Hope someone can use them.
Don't know why but my lisps came in weird...
Is there a way to use lisp to convert text to mtext? Using (COMMAND " txt2mtxt") will not
work. I would like to use lisp to start txt2mtxt text to mtext converter then use a previous selection set...
Is it possible to use only one an entmakex to draw the following four points
without repeating the same entamex three time ?
(setq p1 (getpoint "\n Specify a point :")
I have a question about the Vlide settings. I had it (at one time) where when vlide encountered an error it would tell me what the error was. I must have switched somthing and now...
Does any one know where I can find some help for a huge number of visual lisp fuctions not in visual lisp help? Some of them are as follow:
I get error while adding an attribute to a block using ENTMAKE "attdef".
What am I doing wrong ?
;makes a block and inserts to drawing
(setq x 4 y 4)
(setq ot 0.3 )
Words, numbers or emoticons cannot express how much this stresses me out in AutoCAD2008. Already today, i have lost approximately 2 hours having AutoCAD crash on me then having to located the culprit...
I know how to make normal arrow, but the main problem is that I do not know how to specify angles' degrees and lengths as well.
So the main issue is the oblique angle and the length of...
Hi can anyone help i have a lisp file which has always worked in R14 but does not work in 2010.
the purpose of the routine is to create a cap or caps in a line or arc or circle with a given width,...
The "osoptions" is used in Autocad, but what is the similar System Variable in Mechanical Autocad 2006 ?
Hi I'm doing my first macro and trying to place a coordinate reference on a layout, I want to get a cross in the center of a tank and the xy coordinates but I dont get the lines to work, any one who...
I want run one script when I open one drawing in Explorer using AcLauncher.exe,
But this routine will not be run using File\open...,
I used to work out this when using Acad.exe /b...
I need a lisp for find or select Touching (overlape) objects. Is there any way..........pls help me.
Thanks in advance
Actually I am working in Lighting layout, So i am receving...
I'm wondering if someone has a lisp in store that looks like the image I've attached. it's basically a line with an attached circle and a number inserted in the centre of the circle. So I...
I have seen lots of users using the undo command in different types and return values.
So what are the complete types of undo command uses in Lisp ?
Some users prefer it (command...
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–2017