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.
After many hours looking for a solution to my 'problem' I have been forced to sign up to a website in which there are far more skilled people than I in their programming skills. My...
Hi all,can anyone clarify what's the problem in this code and how can I fix it.
(setq lnam (getstring"\nEnter lay name:"))
(if ( = lnam t)
(setvar "clayer" lnam))
(if ( = lnam nil)
Hello everyone! I am hoping to get some help in solving a volume problem.
I have a polyline representing the bottom of a dirt pile. I know the volume that I am trying to achieve. I know the...
I don't know if this requires a lisp or a script solution..
I regularly work on multi-tabbed drawings.
I often encounter situations where on a tab, the extents
are much smaller than the title...
I had drawn projection views by manual methods. I have lot of isometric drawings; from that dwgs I need to draw 1st angle and 3rd angle views. Anybody knows how I can I rotate the isometric...
I have 300 cross section. I have to put the Existing Level and Post Level Therein.
I'm attaching the image of it..
The formula to put the Levels are : ---- (Dimension +or-...
Hi, i want load my linetypes from topo.lin file. Here is my code.
C:fen (/ A1 KLIM PER S1 S2 SCL)
(COMMAND "_layer" "_m" "fen" "_c" "140" "" "_LT" "" "C:\\topocad\\topo.lin\\fen"...
If you want to select a particular type of object on a specified position, ssGet function fails when multiple objects are overlapped in that place.
(setq ss (ssGet '(0 0) '((0 ....
Is there and routines that would put a dimension along a curvy line? I dont need the actual dimension on, just the lines following the curve with the arrows and the perp lines coming out at...
I am looking (for quite a while now) for a way to automatically dimension (aligned dimensioning) a polyline. Unfotunately i can not find any way or any LISP tool to do this for me.
I have many assemblies modeled, with the drawings done.
Now, I got a revision which requires me to change the tube diameter, but I have to "move radially" the reinforcement plates as well....
Since the analytical geometry is my weak spot (one of...) I would appreciate if someone may help me with the formula to rotate a point (P2) around another one (P1) in the vertical plan defined by...
I don't know is this possible or not. I want lisp to make wiring like attachment when I Select some items make wire.
Problem solved, thank concerns.
What is the simplest way to find whether two points are connected in a drawing using Alisp.
Thanking in advance.
Hello everyone，I need some help.
Use LISP to do this:
1. Specify four points.
2. use"bhatch" in this region.Scale can dynamic.
3. Remove the border.
Thank for help me!
Hi all ,
I am having a problem when I try to create txt file like attachment
can anyone help.
(defun c:test(/ )
I thought it would be interesting to get a thread going about your favorite lisp. As I've been frequenting this forum, my list of lisps is ever-growing. I have some I think are excellent for what I...
I found this LISP code on AfraLISP website. It looks like it could help solve some problems I'm having around here to automate the user setups. I tried it out and it does seem to work but with my...
My situation is i have a number of splines that are in different layers. I have intersected these lines with a number of lines in the '0' layer.
I want to be able to extract the...
sometimes when i get drawing from others, i need to map all entities to proper layer, for example dimention are laying on different layers, you want them on one layer right?.
Isolate is ...
Wasn't that busy, so I thought I'd put together a little Incremental Numbering Suite for you all to sample.
I've come to realise that this kind of LISP seems to be quite a popular one...
i need to retrieve a keyword out of entsel,
when i type the keyword i get error that say a point were expected
how to do it right?
(setq ent (car (entsel "\n Select the entity type you...
Thanks to everyone.
I want use a command to hide namesake block ,and use a command to show it.
Thank for help me!
This lisp have some defects, Below:
And It's only support "Line" But I want support "Pline" .
Thanks you all for what ever advice or help you can spare.
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