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.
This is probably a very elementary question, but I've tried everything I can think of and can't figure it out.
I know I can filter a selection set with this:
(setq ss1 (ssget '((0 . "TEXT")))) to...
Hi all. I have two polylines which have same length. One polyline contain some intersection at random distance. I need to mark the other polyline with the same intersection distance..
Hi, I'm using the following code as part of a lisp which draws polylines. Basically, the polyline is drawn, it's checked to be clock wise or ccw and if necesary, its direction is changed before...
My English is very poor, so upload the image for explain.
Draw arc on curve . (line, pline, circle, arc, ellipse)
Can specify a starting point and end point
and have a few...
I cannot find a lisp thath change the colors for all entities in the drawing
For monochrome printing a need to change 0,255,0 to red ; 255,0,0 to green etc.
The quick select command dont...
Good morning peeps...
asking for your kind assistance. I have attached here 2 files. One is the Exploded and the other is the Attribute Block to be used.
For some "silly" reason, our drafter...
if someone can help me i will be thanks!!:D
I need a lisp can calculate area and perimeter. That lisp isn't hard to be found.
But I need one more thing. Insert floor (0.5x0.5) in...
Hi guys, here's the thing:
I have this LISP which draws objects in a specific order on two diferent layers. I have another LISP that needs to process the objects in the exact same order they were...
Hello. Cadtutor's friends
I have an idea, want to use lisp to do these things. Someone can help me ?
1.Enter the length of "L" , Then Pick up two perpendicular lines ,maybe is Plines.
I'm new to AutoCAD and Lisp. I'm trying to use Lisp as a script to generate 3d objects in AutoCAD. What I'd like to do:
Create a cylinder to use as the base for my object
Slice it up a number of...
We have a routine that allows us to pick initial point (for a leader to begin) then a second point (where we want a bubble with a number) We then input a number and it draws a circle around it.
I'm new to the world of AutoLISP and would appreciate some help. I'd like a lisp routine that deletes specific layers (and any entities within them) from all of the drawings in a...
Is there any way to turn on or off multiple toolbars at once? (A select few, not all of them.)
like, Enter on the keyboard?
I have two alignment i have to know the chainage that the perpendicular offset from first alignment at fixed chainage makes to the second alignment.then what those chainage will be ? Pls help to...
I have a lisp taken from several forums and stiched it together, what it does is it would select a polyline, then offset it with multiple lines and deletes the selected polyline. Now, how do I...
Through vba is it possible to only the height change of text .i have attached a sample drawing for observtion.
I'm trying to make sure a routine saves a drawing if it's not saved.
So I use :
(if (= (getvar 'dwgtitled) 0)
I have a question for you. Is it possible to have autocad, im using 2014, assign a layer to a specific command? For example, if I use the command PL and want to draw a polyline, it will...
please help how to convert excel file contain the following data with tab space
for example:file1 attached
to filename.txt with comma delimited or space
through a lisp
i hope someone can help me i try to search somthing in Excel.
what is to insert for the Points 1 2 3 4 5
(setq EXAPP (vlax-get-object "excel.application"))
dimaligned & dimlinear oblique.
can multi-select .
use "<" key to negative direction of diminishing , once "5" degree. eg: -85 , -80 ,-75,......still -15
use ">" key to positive direction of...
i am trying to get values from openoffice calc to autocad for automating drafting.
i expect somebody to explain the basics of this.
kindly do the needful.
I have multi lines or polylines as to pic attached "before
I want to do trim or extend at all the intersection to become like this:
maybe should trim and extend with multiple edges and multiple...
I know how to get the client to select objects, for example with SSGET.
But how do I read the objects that are already selected, the moment the client types the command of my program?
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–2016