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.
Greetings friends .... I can include you as a lisp routine that run only a certain time ..... thanks for the help and your time ......:roll:
Good day ladies and Gents,
I would like to start off by saying hello to everyone and that I just signed up yesterday. This is going to be my very first thread so I apologized before hand if the...
... is not this one.
But, I am fairly pleased with it. It's been quite some time in the making, and I used a different strategy with my code (folks who remember BASIC might crack a smile).
I am so close to getting this code to perform but need some final touches and manipulaton.. Currently it offsets all text on a specific layer and copy's and moves it up "0.15" which is what we...
I am soham, doing M.Tech in manufacturing Engineering. I am working on a dissertation naming Automatic feature recognition of sheet metal part. For that I am doing coding using...
A simple lisp to run vim for editing lsp files:
(startapp "C:\\Program Files (x86)\\Vim\\vim73\\gvim.exe" (strcat "\"" (findfile fname) "\"")))
i want to draw a polyline , and as i hit enter or "C" i want autolisp to create dimention for every polyline segment.
this code acting weird on me, it seems like the interpreter skips the...
I need a lisp program to Align Blocks based on reference Block i.e first select block as reference and then select all blocks to be aligned so the result would be all blocks are parallel to...
Could someone give me an example of how to properly use the "movemaptext"? For instance if i wanted to put in a variable for X and Y offset of a selection set of numbers.this is what I am trying to...
((0 0 0 Hz 2.5x20 0 0 0 0 Accesoriu 0) . 56)
((795 757 0 SP_PFL_2 0 0 0 0 101PE Alb Perlat 3) . 1)
((764 100 0 TRAV_2 1 0 0 0 101PE Alb Perlat 18) . 2)
0 0 0 Hz 2.5x20 0 0 0 0...
Can someone help me with count list if they are the same
I list that I need count list if they are the same
Thanks in advance
(("123" "0" "0" "Hz" "0" "0" "0" "0" "ac" "0")
I am trying to access the tin surface build settings and more specifically the definition build options "Use maximum angle" and "Use maximum triangle length". When I list the...
I have a drawing with lots of lines approx. 300mm long. Each of these lines is the centreline of a rectangle that is 20mm wide and the same length as the line.
So my CAD exercise is to offset...
Hi all, I'm sure this is out there, if someone could point me in the right direction.
We have acad 2002 and used to use 2000.
In 2002 we have the mline command which is pretty simple. But in...
In my dwg file there are a lot of text damage font such following pic ::
I wanna a lisp to select each damage fonts and correct them to correct fonts///please send any idea
A graphical approach to approximate a centerline between two polylines.
To play :)
p.s. Do not exaggerate with sharp curves.
p.p.s. For AutoCAD 2011 or higher
It can get the apparently intersection points between two objects ?
I am working with some database/programmers, but we don't quite know how to go about creating something really clever, but think it is possible. Any advice would help!
We would like to be able...
I say 30 variables that I want to write the values without quotation marks.
* only a comma between values
(setq ax1 (strcat "Euro" "," "EU7X50" "," euro))
(setq ax2 (strcat "Hol2.5x25" ","...
can someone help me and me to change lisp routines below with something else to count same blocks and write text file on a line all the attributes of blocks
thank you in advance
I'm building an application for isometric dimensioning. I can entmake all the normal arrow heads without any problem. I also can entmake an ellipse. But when I tried to entmake a solid ellipse I got...
i'm working on a lisp, and i use rtos and then i reverse a string - a number -260, i use rtos to transform this number in a string - "260" , then i reverse this string - result "62" - but i...
I am needing help with the following code that is supposed to check the cmdactive variable and if a script is running, the routine is to be bypassed.
And the code is:
Please help! , help me complete this program. many thanks!
;;Add to improve this program
(defun make-dcl (/ lst_str str file f)
(setq lst_str '(
hey guys ,my 1st attempt in vanilla
It's just a quick whole-Circle dimension-Angular for line selection
Example: select 2 lines of 120° acute, you can get the rest 240° which >180°
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