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'm very new to lisp. I need help on a command that i wrote that works like the "_insert" command. Evertyhing works except that everytime i execute the command, it goes back to a default...
i have the code
(setq i 0)
(repeat (sslength selpline)
(setq pline_ent (ssname selpline i))
(setq lis_ent (entget pline_ent))
(setq j 0)
(setq b 0)
With SDI set to 1, Filedia set to 0 and Lispinit set to 0.
I am trying to make a routine which open some drawings and add blocks inside them. I have noticed that the current...
Is it possible to add new support paths via the acaddoc.lsp file? I want to add new paths to:
1. Support File Search Path
2. Printer Support File Path
3. Template Settings
So with the help of the internet I created an XLine function that when I type XV or XH it puts a vertical or horizontal XLine on Defpoints layer and then automatically switches back to the layer you...
I am looking for something that will allow me some advanced trim functions like a automated single click trim that allows me te select a object and it will trim all objects within?
I got this lisp from Tharwat on the cadtutor forum recently.
Wow....it is wonderful and save lots of my drafting time.
Any problem if I ask for some changes made on the
Good day, i have a drawing that all levels of services are indicated, only i have now a problem regarding by revising the levels of annotation, i have to add it by 200mm, of all the...
I have seen lisp to add letter(s) to a text but I could not find a lisp that remove the last letter(s) by windows or crossing them . Would you please help me find one if it already posted or...
I am trying to create a routine that will cycle through the layouts and automatically plot each one without any interaction from the user. This is what I have to date but it isn't cycling through...
I am new in doing lisp routines, and use AutoCAD 2007. I am trying to do a simple lisp routine to update title block attributes in multiple drawings (customer name, project name etc). The...
I need some code to remove 2 specific consecutive items from a list.
Ex: From list '(a b c d e f g h) I need to remove a & b and get
'(c d e f g h) but ONLY if b is right after a. If a or b are...
I struck, to find the direction of closed polines in a 3d Buildings.
I want all my walls should be in anticlock direction with respective to their view (i.e Front,Back,Left,Right).
Right now I have 15,000 drawings that use letters instead of symbols, an artifact of a now defunct CAD software that translated the letters into symbols. I'd like to remake this in AutoCAD by...
It's about a play with parametric equations...trying to obtain a torr...and the result is strange for me, i cannot get real dimensions for the torr..i don't understand why...any help? Sorry...
hello! it's stupid pat agian.
i have a new question that seems pretty difficult, since it's not just "find nearest"
but who knows, maybe you wizards will know the answer by heart.
First thing I want to apologize if something that I wrote sounds strange. Im spanish and my english is not as good as it should be=P.
Im learling little by little autolisp things,...
Hello guys. I am looking for a routine that would allow me to select a circle and basically remove all geometry within it. We use Inventor to design our manifolds, we then also export out the faces...
Just wondering, with the express tools, if there was a way to convert multiple dtext to mtext without it all combining to the one mtext.
Is there a lisp or system setting??
Salaam to all Members,
mujy ik problem darpash hy ma Lisp ki Command use kr raha hn PRL ki
so mujy 3 digit chahiye bt ya command sirf 2 digit dy rahi hai so any one help me ...... Regards
I am trying to write a LISP that does the following:
-Saveas as NEW drawing based on certain criteria from DCL menu
-Deletes old drawing
-*THEN, if drawing contain...
Since I am new to autolisp, please bare with me.
I need to do the following:
Create some choices (big|med|small) and have the user select his choice with the mouse which then...
Basically I am looking for some help in finding an interpolation lisp that will work in the order below. Not sure if anyone has something like this already that they could share. I...
I need a lisp routine to put all xrefs in a drawing onto the layer "G-XREF". Where;
If the layer does not exist it would be created first?
Looking for help on the following routines:
- Open xref from drawing by typing XO and then clicking on the reference.
- Detach xref from drawing by typing XRX and then clicking on the reference....
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