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 2005-2011 unless otherwise noted.
All content of CAD PANACEA is solely my own personal thoughts and opinions and do not those of any other entity or person.
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 weeks 5 days ago
6 weeks 4 days ago
6 weeks 4 days ago
6 weeks 4 days ago
6 weeks 4 days ago
11 weeks 3 days ago
11 weeks 5 days ago
17 weeks 3 days ago
17 weeks 4 days ago
19 weeks 2 days ago