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.
If use lisp ,how to purge zero-length geometry and empty text objects? Thanks for help!
is it possible to create a live copy of a polyline? by "live" i mean that every change in the original polyline will be dynamically reflected on its "live" copy
I need a visual lisp code for a leader I have attached.
I'm looking for someone who can and have the time to teach me autolip
and I am grateful
I am stuck not understand how you must separate the first IPT, I read about car cdr cadr caddr I do not give out all the other point that should do(defun c:cp1mm ()
(setvar "Cmdecho" 0)...
how would you retrieve vertices list out of a polyline without
using any of the vl-load-com functions?
all approach that come to your mind is greatly welcome!
I want to scale the program lisp block XY and Z differently not only one scale
ie x - 3 y-5 z -1
I have a list containing pairs of adjacent points on a pline. I want to test each pair and replace them with two pairs at the same position if it returns truth. The pairs that do not...
as part of learning im trying to re-write knowen commands,
this time divide
i manage to write this
(defun C:test (/ line d x seg i loc)
(setvar "PDMODE" 34)
(setq line (entget...
I want to get the boundary points for an IAeccTinSurface object.
I can drill down to the boundaries object of the surface but I don't know where or how to get from there to the boundary...
Looking for a LISP routine to draw double polyline like MLINE.
I'm learning how to edit entity list and update the database . How to add members to the database? What is dictionary ?
From Adesk documentation, this is the structure of dictnext
(dictnext ename )
I have a function who retrieves the ename of a dict
(defun getdictEname (dictName / tmp)
(if (setq tmp...
Im a newbie and trying to figure out if there is a lisp that can help me out.
I need to go through 200 drawings and change certain layers to a certain lineweight.
I got this code, to do a multiple offset, it works good, but I need to do one complementation in that, the direction of final objects, the code doesn't allow you choose it, every time the...
I need help to sort lists in a code.
Use a program created by the great Fixo to create tables containing some attributes. I found that, depending on how the block is built, the...
I have found software on the Internet that allows you to make a USB copy protected.
Do these programs work or are they just a waste of time
this excel+lisp gives us the opportunity to draw road profile for bothe ground levels and design levels in two steps -- one for ground " natural "" and 2nd for design levels.
* either to...
I wrote the below code to insert our company dimension and font styles...and I get the following error:
_insert Enter block name or <ORANGE NOTES>: DIMENSIONS
Units: Inches ...
Many a times it requires to show the same block with different angle and scale. Rotating each block to a required angle, and scaling it as required will take a lot of time so can we Insert Block...
Does anyone know how to get drag coordinates with grRead function, only as long as the left mouse button is pressed?
I've tried :
(setq gr2 (grRed (setq gr1 (grRead))))
Does anyone know how to find using AutoLISP, if the left button of the mouse is still pressed? Because if can access the information in the clipboard, it can be that too.
Who can help me with a program lisp,I would like to draw box and block with attrib
but do not know how to do this
please help me
I've just started to learn DCL. Very cool. But I'm stuck. I can't seem to get my tile value to re-calculate itself via my formulas when the user enters their new choices. I may just have something in...
I found this lisp on a different forum. First of all, this is the work of fixo (thanks for your generosity in making available this lisp).
This program will work like Dataextraction...
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