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 trying to linking a string with real value that is in a variable, but is giving error. Can you help me? The little lisp only divides two numbers and displays the prompt informed with the...
I would be thankful if someone would like to share their lisp for creating duct elbows (both round & rectangular). For those that are not in the HVAC field...I would like to request a lisp that...
Hello, I run a vertical product.it has a command that creates room space with closed polyline on layername.i need to copy to clip automatically the text (which represents the room name) found...
Hello everyone, I am a brand-new member of this forum and I would really appreciate some help. I'm in need of a routine do to the following: --Add text to represent a closed polyline label. --Then...
Hi Good Afternoon, evening, morning, I am looking for any assistance possible, as from the title i am looking at some kind of Lisp code that will change the X-Ref file name from 'x' to 'y' for...
Wasn't sure if it I could have a better luck starting a new post (somewhat) continuing from http://www.cadtutor.net/forum/newthread.php?do=newthread&f=21 ..but as it goes Lee Mac posted one of my...
Hi, I have a string that I obtain from excel (0.0 1.2 1.2 1.2), I can convert that to a list so that it is ("0.0" "1.2" "1.2" "1.2") how can I convert it that each string in the list is...
vla-get-dimstyles Like that how can get list of hatch patterns
Hi i required a lisp to draw a poly line along with 2 closed poly lines. If i pick 2 vertexes on 2 polygons, 1 new poly line should be created between these two points along with polygon walls. can...
Hey guys, I’ve got this routine which I have been working on… it is a modified version of another routine which Carry helped me create for ProSteel. The philosophy behind the routine is that I...
I found this code that compiles the files directly, without those annoying errors from VLISP. (defun c:FAS (/ name lispname outfilename findfas rewritefas) (setvar "cmdecho" 0) (setq name...
(setq ss3 (ssget "C" pt1 pt2 '((0 . "text" )))) How can I add to this set (ss3) mtext also.
(setq pp (getpoint"\nPick apoint ")) (command "text" pp 100 0 "TEST" ) When the current text style has not feed a text hight this code is working nicely. But when the current style has a...
Hello, I need a lisp to explode a text written on multiline text to only one single line text. Example: "First floor meeting room" When exploded must gives one single line text:...
how we can make banner such as "educational...." at the plotting
Hi there, I have seen a lot of autonumbering of blocks lisp examples in this forum which is a bit complicated for me. But i just need a simple lisp that will automatically place the number in the...
I think all of us know what a pain it can be to run a lisp which either crashes or someone presses the Esc key too soon. Some real problems can result from this especially if you've reset environment...
For a certain situation it would be rather helpful for a colleague of mine to have a .lsp routine that would collect all the text elements out of each drawing in a certain folder and put them all in...
Hi! I was hoping if anyone has a lisp routine for inserting brackets around text by clicking on the text and wrapping the text in brackets or something along those lines rather than clicking on...
Hi, Firstly I'd like to wish everyone a happy new year but it seems clear for some it has not been the best start possible, fingers crossed things improve for ye guys. There may already be a...
Hi I want simply to add my picked points number to a list and when I press enter a prompt will tell how many members there are in the list (defun C:TEST (/ a lst) (setq lst) (while ...
I have this rough draft code I'm building to be used as a layer checker but I also need to to loop through once using the first item in the list, then loop through a second time using the second item...
I have a simple layout tab which contains a single viewport. In this viewport I want to zoom around an ole object which was pasted into model space based on some other input. The size of this ole...
Hi guys! Im stuck with this boring routine of reading dimension values and typing them in Excel columns for furtegr calculations. My dimenison are alinged in one horizontal line (see picture; blue...
Hi the most time consuming task in writing polar function is to find and write information for each needed point. why not to write a lisp routine that write a polar function for us? just draw...
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.
Forum Rules