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.
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?
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 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...
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...
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...
Have a routine like this?
use dialog to choose
scale: 1:1.5 ,1:2 ,1:2.5 ,1:3 ,1:4 ,1:5 ,1:10 and 2:1 , 2.5:1 , 4:1 , 5:1 ,10:1
Dir.of rotation: left...
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...
I have modified this code I found somewhere to fit my needs of being able to insert a revision cloud on an addendum layer with the proper name and freeze previous addendums. I want to be able to add...
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...
Is there any way to join many polylines which included the case of colinear polylines?
The pedit command only allow to join polylines not colinear.
The J command work good with colinear but only...
I have many drawings need to be revised. The drawing has block with some attribute such as: Rev., Date, Description, By, Check, Approved. When revising the drawing, for example, from revision 0 to...
Hi Dear friend:
Have time to help me? I appriciate your help!
My frist topic in Cadtutor
I want use lisp to...
Currently my work now involves checking if polylines is in the center between 2 polylines/lines.
If there are not, i need to shift/stretch to make it centre. As usual, some changes are very small...
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...
Good morning everyone.
I have a question regarding an idea for a lisp. I am wondering if this is possible, or something to good to be true.
I work at a solar panel racking company, we use CAD...
Have a routine like this? Thanks for any help!
Enter the value of the " L " and " H" , pick a basic point , Dynamic specified direction. Draw an isosceles trapezoid.
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–2014