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.
how can i set row style for any row in table via AutoLISP? I want to set header for second row too. I found function "vla-getrowtype" in refernce book, but there is no function for set row...
I am completely new to autocad programming and want to take professional help or advice for getting the following task completed :
1. Import dxf file
2. Assign measurement data to...
I found this code to offset a polyline inside. It seems to suggest that by changing the sign from - to + it can be switched from inside to outside.
I have been at it for hours trying...
Hello, At work when we are doing a set of production prints we modify the dimension to compensate for drywall on the floor plan. 1/2" or 5/8" drywall
We draw the floor plans with finished drywall,...
Can anyone assist in helping me adjust our LISP
We currently prepare subdivision plans which require a number of scribed bearings and distances on a plan to be offset neatly from a line at a set...
How do I set an attribute value that is within a block to a variable using a lisp statement? I do not want any user input to be used, it needs to be scriptable. There will only be one instance of the...
I am looking to have a popup or alert show once for users after I have added a new workspace. The popup will alter them to run an update that will change the CUI file containing the...
I am pretty keen to know if it is possible to change attribute tag names using lisp (or some other strategy).
I have lots of different blocks, and they all have two attributes.
The tag for...
I have more than 3000 drawings which contain some layers. I need to create separate drawings from that layers but without opening that drawing in cad. As it will take lots of time to open...
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 a way get boundary coordinates of an object that is outside (partially) of viewing area without zooming to it?
I have done quite a search and have not found any good explanation to use entmake to insert a defined block, and scale or rotate that block upon insertion.
The idea is to tag a line (pipe), and...
I was wondering if there was a lisp routine out there that when you drop a dtext string into a rectanlge that it would shrink down to fit inside? I looked at the text fit command in the...
Can someone help met with the following lisp?
iam using a lisp (incatt) to increase a attribute of selected block. this works perfect.
I want to add a function. in the blocks there is also...
I need help again. I have a lisp code for create layouts automatically.
I have a rectangle attribute block. First I insert the block in model space then run the lisp.
Please some one help me is there any lisp for convert attribute definition(not block attribute) to text or mtext
Hi Guys ,
I Need help again in DCL when I Click to Create button it not working and taking longtime
I'm trying to create a lisp routine to run the centerline command then select the line just generated and explode it.
I can get it to create the centerline, and then pick the line
I use some lisp code in win 7 and xp and i have Problem with them in win 8 and also copy&paste doesnt operate well in win 8 . while i select objects when click copy toolbar acad ask me select again...
As a rocky acad 2009 (civil) user the Lisp command is new to me and a big challenge.
My job asks me to find the coordinates of points. The image has like 200 points, and I know more images...
So I am trying to update a block (named DRN-BASIN) based on a csv file that has four columns. The first column has Basin No., next is ACRES, next is CO-EF, and next is CO-EF-2. I need to update the...
Is there a way to add datalinks without doing it manually using the Data Link Manager?
I need to insert a lot of data links to a CAD file and was wondering if there is a way to streamline the...
Hey everyone ... does anyone know of code out there that would change the precision of a highlighted group of dimensions.
Then with a option to return to a specific precision.
hi (Good morning)
would you please guide me regarding Delete specific layer features with out open drawings,
with how to loads and commands details.
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–2017