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.
Why cant I open PURGE dialog box using following code.
(command "PURGE" "")
Hi, this is my first post on the forum & I'm also pretty new to AutoCAD scripts & Lisp routines, so please bear with me.
Basically I have the following script:
(setq dn (strcat (getvar...
Where am i making mistake??? Tiles are setting up with variables
(IF (OR (EQUAL (EVAL (CAR X)) NIL) (EQUAL (EVAL (CAR X)) ""))
(SET (CAR X) (CADR X))
I probably missing something obvious here, but how do I apply filters with SSGET to different selection sets (created with SSADD)?
Just a quick and crude example which doesn't work...
Hey guys I work strictly with AMEP piping interface for a plumbing company, but the built in sloped piping interface is terrible. The main reason that it is unusable is because the suggested routing...
How to select all the blocks that are touching polylines in autocad?
I have a lisp collected automatically numbered.
However, while the number of small numbers fits in the circle (with wipeout) but when bigger numbers, it does not automatically fit...
I have a quick question on my lisp routine that is trying to combine the break feature line and break command into one command. I am new to Visual Lisp and Auto Lisp, so I was unsure if it has an...
We have irregular land (project) site profiles. And abutting roads.
We could break the corners of the site line into differentiated front/side1/side2/rear sections.
If we identify the road...
I have a lisp to create double yellow lines for road markings. There are 2 options in the lisp. 1: Select a line to offset to create the yellow lines or 2: draw along a line to offset to...
Hello guys! I'm trying to create new set of layers in a new group filters.
My problem is that the new layers doesnt go into the new filters directories.
Can anyone help me?
Heres the simple code...
i have attached a sample drawing pls help me.
I am in need of a lisp program to do the following
Sprayer irrigation design for rectangular/square areas/circular areas.
Step 1: Ask the user to enter shape, Rectangular or Circular
Inventor and solidworks draw 3D parts , can give this parts naming.
But Sometimes I use AutoCad draw 3D solid ,Can't give this 3d solids naming.
I hope use "XDATA" , add extended...
Could you please help me ?
Do you have a lisp to calculate Area Intersection
I want to make lisp to place text area at this point
The feature is of Pro-contractor studio
The array feature is well explained in the drop box attachment.
Template of sprinklers are attached, can any one make list which can do the same in...
I need a lisp that something like quickselect command. I want to select my precious area and want to select same layers on that "selected area" only. Is that this can be done?
Hi i am trying to convert my blocks to annotation and i have some problems.
I have a grid label block . When i insert the block the annotation work but the coordinates in the fields are 0 . When i...
Are there a way for modify a cool code lisp of mr lee mac in (ObjectAlignV1-3)
,for multiple copy of object align the curve.8)
I am a road engineer and I know that many people have this problem: my topographical survey is in 2d with points and polylines not having Z elevation, the points are blocks with...
Hi Friends, :)
Help me, Please... :roll:
long time ; It is taking a long time to one by one.
Dline, Break, Fillet, ............................ Break
Hey all. I'm using AutoCAD 2016 and I'm trying to use the Homerun lisp below with no success. Others with older version of CAD are able to use.
I'm hoping someone on this site will help me find a...
I am having a drawing where all my entities and all polyline and are in a single layer
what I what to do is if I select the layer name and give a +/- offset distance the entities...
Hi. I am using a lisp code for dimensioning boundaries or open polylines. This code works by giving the drawing scale every time. Fot each scale the dimension texts insert in different distanse over...
the single door works
the door with 1 sidelite works
the pair of doors does not work
the door with 2 sidelites does not work either
this was originally written for ver14 where all worked
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–2015