<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: 5 Simple AutoLISP Selection Sets</title>
	<atom:link href="http://www.lazydrafter.com/autocad-tips/5-simple-autolisp-selection-sets/feed" rel="self" type="application/rss+xml" />
	<link>http://www.lazydrafter.com/autocad-tips/5-simple-autolisp-selection-sets</link>
	<description>AutoCAD tips for the lazy drafter.</description>
	<lastBuildDate>Thu, 12 Aug 2010 19:18:01 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Paramanathan</title>
		<link>http://www.lazydrafter.com/autocad-tips/5-simple-autolisp-selection-sets/comment-page-1#comment-498</link>
		<dc:creator>Paramanathan</dc:creator>
		<pubDate>Wed, 20 May 2009 13:17:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.lazydrafter.com/?p=7#comment-498</guid>
		<description>Dear Sir,

i need a pgm that

1. prompts for Radius of circle

2. when Radius is given, all the cirlces of similar diameter ( tolerance of   /- .05 , precision two decimal places) in the dwg should be grip selected

3. so that i can change the selected (Grip highlited) circles to different layer with layer name being their diameter.



i had almost done, except that, each time i have to alter the radius value in the code,
below is the code

(defun c:SIMRAD ()

	(setq rad (cdr (assoc 40 (entget (car (entsel))))))
	(alert (strcat &quot;Radius = &quot; (rtos rad 2)))
	(princ)



	(cadr(sssetfirst nil(setq ss_grip (ssget &quot;_X&quot;&#039;((0 . &quot;CIRCLE&quot;)(-4 . &quot;=&quot;)(40 . 4.0 ))))))		
	
)


can somebody suggest a solution</description>
		<content:encoded><![CDATA[<p>Dear Sir,</p>
<p>i need a pgm that</p>
<p>1. prompts for Radius of circle</p>
<p>2. when Radius is given, all the cirlces of similar diameter ( tolerance of   /- .05 , precision two decimal places) in the dwg should be grip selected</p>
<p>3. so that i can change the selected (Grip highlited) circles to different layer with layer name being their diameter.</p>
<p>i had almost done, except that, each time i have to alter the radius value in the code,<br />
below is the code</p>
<p>(defun c:SIMRAD ()</p>
<p>	(setq rad (cdr (assoc 40 (entget (car (entsel))))))<br />
	(alert (strcat &#8220;Radius = &#8221; (rtos rad 2)))<br />
	(princ)</p>
<p>	(cadr(sssetfirst nil(setq ss_grip (ssget &#8220;_X&#8221;&#8216;((0 . &#8220;CIRCLE&#8221;)(-4 . &#8220;=&#8221;)(40 . 4.0 ))))))		</p>
<p>)</p>
<p>can somebody suggest a solution</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: KewlToyZ</title>
		<link>http://www.lazydrafter.com/autocad-tips/5-simple-autolisp-selection-sets/comment-page-1#comment-484</link>
		<dc:creator>KewlToyZ</dc:creator>
		<pubDate>Tue, 28 Apr 2009 14:17:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.lazydrafter.com/?p=7#comment-484</guid>
		<description>Hmmm,(defun scircle()(ssget &quot;x&quot; (list(cons 0 &quot;circle&quot;)))(command &quot;chprop&quot; x &quot;&quot; &quot;Layer&quot; &quot;DefPoints&quot; &quot;&quot;))?</description>
		<content:encoded><![CDATA[<p>Hmmm,(defun scircle()(ssget &quot;x&quot; (list(cons 0 &quot;circle&quot;)))(command &quot;chprop&quot; x &quot;&quot; &quot;Layer&quot; &quot;DefPoints&quot; &quot;&quot;))?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Savone</title>
		<link>http://www.lazydrafter.com/autocad-tips/5-simple-autolisp-selection-sets/comment-page-1#comment-258</link>
		<dc:creator>Matt Savone</dc:creator>
		<pubDate>Tue, 25 Nov 2008 20:27:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.lazydrafter.com/?p=7#comment-258</guid>
		<description>I used notepad to write
(ssget &quot;x&quot; (list(cons 0 &quot;circle&quot;)))

I named it scircle.
The file loaded fine but when I type scircle at
the command line I get unknown command.

Thanks, Matt</description>
		<content:encoded><![CDATA[<p>I used notepad to write<br />
(ssget &quot;x&quot; (list(cons 0 &quot;circle&quot;)))</p>
<p>I named it scircle.<br />
The file loaded fine but when I type scircle at<br />
the command line I get unknown command.</p>
<p>Thanks, Matt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: CadKicks.com</title>
		<link>http://www.lazydrafter.com/autocad-tips/5-simple-autolisp-selection-sets/comment-page-1#comment-208</link>
		<dc:creator>CadKicks.com</dc:creator>
		<pubDate>Fri, 14 Nov 2008 16:58:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.lazydrafter.com/?p=7#comment-208</guid>
		<description>&lt;strong&gt;5 Simple AutoLISP Selection Sets...&lt;/strong&gt;

You&#039;ve been kicked (a good thing) - Trackback from CadKicks.com...</description>
		<content:encoded><![CDATA[<p><strong>5 Simple AutoLISP Selection Sets&#8230;</strong></p>
<p>You&#8217;ve been kicked (a good thing) &#8211; Trackback from CadKicks.com&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lazy Drafter &#187; Writing Scripts</title>
		<link>http://www.lazydrafter.com/autocad-tips/5-simple-autolisp-selection-sets/comment-page-1#comment-83</link>
		<dc:creator>Lazy Drafter &#187; Writing Scripts</dc:creator>
		<pubDate>Wed, 27 Aug 2008 19:27:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.lazydrafter.com/?p=7#comment-83</guid>
		<description>[...] you know that you can plug in AutoLISP code into your scripts? Let&#8217;s say you want to create a selection set of objects on a certain layer and change them to another layer. You could write a script like [...]</description>
		<content:encoded><![CDATA[<p>[...] you know that you can plug in AutoLISP code into your scripts? Let&#8217;s say you want to create a selection set of objects on a certain layer and change them to another layer. You could write a script like [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
