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. ...
I have set up my title blocks with attributes. I want to be able to edit them thru an excel sheet either embedded in my dwg or a separate xls file. Can anyone point me in the right direction ...
I am new to using VBA to program AutoCad. I would like to know if there is a way to unload the vba program after I am finished with it (other than using vbaman). I can load my programs from a button...
I was skimming through the forum when I ran across several articles referencing the AxDbDocument function. Realizing I could use this I tried to implement it into the code below. But I keep getting...
I’m newbie on autolisp I’ve tried to figure out on how to running a list of lisp from within a lisp here is my code::cry: (defun c:laytool () (setq dcl_id (load_dialog "lay_tool.dcl")) ...
Where I can get VBA tutorials.. Can anyone help me..
Hi Alls, Here my code to display loading in picture and digital, as the sample if picture display in 1/4 circle display at digital should 25.00 %, but in fact it can not found, any one have time to...
plese check following pdf and make a lisp for that.:)
Hi, I've been searching the internet for a nice lisp routine for making steel sections. Luckily i found one. It can draw different steel sections in 2D and in 3D. But unfortunately the sections are...
Hi Everyone, At work, we have combined two surveys together using AutoCAD 2004, and the survey are at two different elevations. Unfortunately we didn't discover this until after we had completed...
is it possible for a routine to do the following; :huh: 1. explode a block (title block), after exploding. 2. delete a specific text line "not for construction". 3. after deletion insert a...
Hello,Function Dwg2Bmp(DwgFullName As String) Dim NewDwg As AcadDocument Set NewDwg = Documents.Open(DwgFullName) Dim DwgPath As String Dim DwgName As String DwgPath = ThisDrawing.Path...
I have been working on some code that inserts a block, sets the angle of that block, and then finds all lines under it and trims them back to its extents. My first couple tries I have done this...
I am currently attempting to write a small program to print to approx. 25 diferent printers. My questions are this... 1) how do I tell the program to use a spacific ctb file? 2) how to change...
Looking for some freebie LISP files that do anything related to double line or multiline (not necessarily the command multiline, just a multiline feature). I'm wanting to look over some code for an...
I want to create a command within cui to open a titleblock template which has a viewport already created, then prompt to saveas straight aways to avoid overiting, can any one help? im learning...
Just trying to see if this is even possible so here it goes, is there a way to set up a .txt file that can log in who/when a person opened a file and when they saved the file? Reason: I work with...
Is it possible? I have a script in which I need to load a VBA file and run the macro it contains. Is it possible to do this all through the command line so I can add it to my script?
looking for a lisp that will ask to set point 0,0. then will ask you select first point, second, etc. will then take these coordinates ( dimensions) and either create a table in autocad or excel to...
How do I manipulate the rotation angles of text or maybe other entities as well, and maybe "align" them to some other entities? I'm new with lisp so bear with me brothers. Thanks.
We have many autocad drawings that have the building rotated at about 1.8 degree. When we xref the working file into our drawings, we use DDUCS and set to a view that was preset. This rotates the...
Hey guys! I'm trying to create a lisp file which will take a 2D text elevation, move it to the actual text on the Z coordinate and create a point at a specific distance from the insertion point...
How I can change my layer " exportedlines" `s color to RGB or QB color? I tried this one, nothing changed varCurrentlayer = .CurrentLayer("Exported lines") Set objLayer =...
I have run across a problem that seems to have come up a few times, but all links to helpful resources in those threads are dead. I am trying to select a particular block on the active layout,...
i have attach a dwg with a dynamic block i a trying to build the file is saved in 2004 format although i am using 2008 i currently am able to insert my block and have to adjustable areas (both the...
One of Alans tips, inspired this thread.. What are some quick command line.. lisps that you use regulary.. Basically all my lisps are loaded codes not command line... do others use...
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.
Forum Rules