August 2008
Exploring the autolisp SSGET function - part 2
Submitted by rkmcswain on Wed, 08/20/2008 - 22:00Ok, getting back to the last (ssget) call in part 1...
(ssget "_W" (list 5.0 5.0)(list 8.0 8.0) '((0 . "CIRCLE")(-4 . "<")(40 . 1.0)) ) Read more »Exploring the autolisp SSGET function - part 1
Submitted by rkmcswain on Wed, 08/20/2008 - 07:30If you have written routines with Autolisp, then you have probably used the (ssget) function to select entities on the screen, either automatically or by prompting the user.
(ssget) is a powerful function that can do more than you probably realize. Let's look at a simple example.
(ssget '((0 . "TEXT"))) Read more »S::STARTUP Function
Submitted by rkmcswain on Mon, 08/18/2008 - 21:10In the previous post about Startup Lisp Functions, the special (S::STARTUP) function was mentioned. Startup lisp code is loaded before the drawing is initialized, but you cannot call the (COMMAND) function until after the drawing is initialized. The solution is to place your (COMMAND) calls inside the (S::STARTUP) function. Read more »
Startup Lisp Functions
Submitted by rkmcswain on Mon, 08/11/2008 - 14:01If you have lisp routines that you want to make available in each drawing session, forget the "Startup Suite" and load them using the "acaddoc.lsp" file. "acaddoc.lsp" is not included with AutoCAD, you create it yourself. But it is nothing more than a plain lisp file, except that the first one found at drawing startup (just put it in your support file search path), is loaded automatically each time a drawing is opened. Read more »
All content is copyright © CAD Panacea 2008-2010 unless otherwise noted.
All content of CAD Panacea is solely my own personal thoughts and opinions and do not represent my employer or any others.
All comments posted to this blog are the sole responsibility of the person making the comment.
Google, as a third party vendor, uses cookies to serve ads on this site. Google's use of their cookies enables it to serve ads to users based on their visit to your sites and other sites on the Internet. You may opt out of the use of these cookies by visiting the Google ad and content network privacy policy.




Recent comments
3 hours 3 min ago
4 hours 43 min ago
6 hours 52 min ago
12 hours 43 min ago
15 hours 24 min ago
1 day 1 hour ago
1 day 19 hours ago
1 day 19 hours ago
1 day 23 hours ago
1 day 23 hours ago