<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
	<channel>
		<title><![CDATA[AutoCAD Forums - AutoLISP, Visual LISP & DCL]]></title>
		<link>http://www.cadtutor.net/forum/</link>
		<description>Questions from beginner to advanced. Tell us about good sources of free lisp and post your own routines for testing.Code posting guidelines</description>
		<language>en</language>
		<lastBuildDate>Tue, 18 Jun 2013 21:48:34 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.cadtutor.net/forum/images/misc_cadtutor/rss.png</url>
			<title><![CDATA[AutoCAD Forums - AutoLISP, Visual LISP & DCL]]></title>
			<link>http://www.cadtutor.net/forum/</link>
		</image>
		<item>
			<title><![CDATA[Add Dimension Then Change It's Color]]></title>
			<link>http://www.cadtutor.net/forum/showthread.php?80014-Add-Dimension-Then-Change-It-s-Color&amp;goto=newpost</link>
			<pubDate>Tue, 18 Jun 2013 17:29:31 GMT</pubDate>
			<description><![CDATA[I have a bit of code which adds a dimension to the drawing. Based on some other criteria in the drawing I'd like to change the color of this dimension to red to indicate to the user there are some...]]></description>
			<content:encoded><![CDATA[<div>I have a bit of code which adds a dimension to the drawing. Based on some other criteria in the drawing I'd like to change the color of this dimension to red to indicate to the user there are some special considerations to be made. We thought about a note but the users prefer that the color of this dimension object be a different color.<br />
<br />
Ok, so I add the dimension and then try to change it's color using &quot;CHPROP&quot; but that's not working. Can anyone offer some advice on how to change the color of a dimension? I'll be able to use (entlast) to select it. Any by doing so I get the properties of the dimension and cheat by copying it into the IDE and formatting it. I end up with this:<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code"><br />
((-1 . &lt;Entity name: 7ffffbec3f0&gt;)<br />
&nbsp; (0 . &quot;DIMENSION&quot;)<br />
&nbsp; (5 . &quot;F9867&quot;)<br />
&nbsp; (102 . &quot;{ACAD_XDICTIONARY&quot;)<br />
&nbsp; (360 . &lt;Entity name: 7ffffbec4d0&gt;)<br />
&nbsp; (102 . &quot;}&quot;)<br />
&nbsp; (102 . &quot;{ACAD_REACTORS&quot;)<br />
&nbsp; (330 . &lt;Entity name: 7ffffbec580&gt;)<br />
&nbsp; (102 . &quot;}&quot;)<br />
&nbsp; (330 . &lt;Entity name: 7ffffb039f0&gt;)<br />
&nbsp; (100 . &quot;AcDbEntity&quot;)<br />
&nbsp; (67 . 0)<br />
&nbsp; (410 . &quot;Model&quot;)<br />
&nbsp; (8 . &quot;Dim1&quot;)<br />
&nbsp; (100 . &quot;AcDbDimension&quot;)<br />
&nbsp; (280 . 0)<br />
&nbsp; (2 . &quot;*D157&quot;)<br />
&nbsp; (10 -9.48943 -93.5625 0.0)<br />
&nbsp; (11 -9.48943 -90.5625 0.0)<br />
&nbsp; (12 0.0 0.0 0.0)<br />
&nbsp; (70 . 32)<br />
&nbsp; (1 . &quot;&quot;)<br />
&nbsp; (71 . 5)<br />
&nbsp; (72 . 1)<br />
&nbsp; (41 . 1.0)<br />
&nbsp; (42 . 6.0)<br />
&nbsp; (73 . 0)<br />
&nbsp; (74 . 0)<br />
&nbsp; (75 . 0)<br />
&nbsp; (52 . 0.0)<br />
&nbsp; (53 . 0.0)<br />
&nbsp; (54 . 0.0)<br />
&nbsp; (51 . 0.0)<br />
&nbsp; (210 0.0 0.0 1.0)<br />
&nbsp; (3 . &quot;Standard&quot;)<br />
&nbsp; (100 . &quot;AcDbAlignedDimension&quot;)<br />
&nbsp; (13 -6.0 -87.5625 0.0)<br />
&nbsp; (14 -4.0 -93.5625 0.0)<br />
&nbsp; (15 0.0 0.0 0.0)<br />
&nbsp; (16 0.0 0.0 0.0)<br />
&nbsp; (40 . 0.0)<br />
&nbsp; (50 . 1.5708)<br />
&nbsp; (100 . &quot;AcDbRotatedDimension&quot;)<br />
)</code><hr />
</div> I believe the DXF code 67 is the color, but how would I go about setting it to &quot;Red&quot; given that this object will the (entlast) or I will have assigned it to something using (entlast) before moving on. In the end, if certain criteria are true, I want to change this dimension's color to &quot;Red&quot;.</div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?21-AutoLISP-Visual-LISP-amp-DCL"><![CDATA[AutoLISP, Visual LISP & DCL]]></category>
			<dc:creator>Bill Tillman</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?80014-Add-Dimension-Then-Change-It-s-Color</guid>
		</item>
		<item>
			<title>Help with a lisp</title>
			<link>http://www.cadtutor.net/forum/showthread.php?80002-Help-with-a-lisp&amp;goto=newpost</link>
			<pubDate>Tue, 18 Jun 2013 10:01:33 GMT</pubDate>
			<description><![CDATA[can anyone convert this lisp !!! 
 
a) To ask (prompt "\n please Select Line : ") ,give the text size ..... 
b) to write  bearing (in grads) add the distanse like the attach photo 
 
Code: 
---------...]]></description>
			<content:encoded><![CDATA[<div>can anyone convert this lisp !!!<br />
<br />
a) To ask (prompt &quot;\n please Select Line : &quot;) ,give the text size .....<br />
b) to write  bearing (in grads) add the distanse like the attach photo<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">(defun C:BD()<br />
<br />
&nbsp;(princ &quot;Bearing and distance between 2 points &quot;)<br />
&nbsp;(copyright)<br />
&nbsp;(setq pnt (getpoint &quot;\n1ο point {(X,Y,Z) or mouse}: &quot;))<br />
&nbsp;(setq pnt1(getpoint &quot;\n2ο point {(X,Y,Z) or mouse}:&quot;)) (terpri)<br />
&nbsp;(setq sdis (rtos (distance pnt pnt1) 2 3))<br />
&nbsp;(setq ang1 (angle pnt pnt1))<br />
&nbsp;(setq ang (angtos ang1 2 4))<br />
&nbsp;(setq dx (-(car pnt1)(car pnt)))<br />
&nbsp;(setq dy (-(cadr pnt1)(cadr pnt)))<br />
&nbsp;(setq dz (-(caddr pnt1)(caddr pnt)))<br />
&nbsp;(setq pn (list (car pnt) (cadr pnt) 0) )<br />
&nbsp;(setq pn1 (list (car pnt1) (cadr pnt1) 0))<br />
&nbsp;(setq dis (rtos (distance pn pn1) 2 3))<br />
&nbsp;(textscr)<br />
&nbsp;(princ &quot;\n&quot;)<br />
<br />
&nbsp;(princ &quot;\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Bearing and distance between 2 points P1 P2 &quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
<br />
(princ &quot;\n&quot;)<br />
(princ &quot;\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; P1&nbsp; X: &quot;)(princ (car pnt)) (princ &quot;&nbsp; Y: &quot;)(princ (cadr pnt))<br />
&nbsp;(princ&quot;&nbsp; Z: &quot;)(princ (caddr pnt))<br />
&nbsp;(princ &quot;\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; P2&nbsp; X: &quot;)(princ (car pnt1)) (princ &quot;&nbsp; Y: &quot;)(princ (cadr pnt1))<br />
&nbsp;(princ &quot;&nbsp; Z: &quot;)(princ (caddr pnt1))<br />
&nbsp;(princ &quot;\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  slope distanse: &quot;)(princ&nbsp; sdis)<br />
&nbsp;(princ &quot;&nbsp; &nbsp;  distanse.:&quot;) (princ dis)<br />
&nbsp;(princ &quot;\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  bearing: &quot;)(princ ang)<br />
&nbsp;(princ&quot;\n&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Dx: &quot;)(princ dx)(princ &quot;&nbsp; &nbsp; &nbsp; Dy: &quot;)(princ dy)<br />
&nbsp;(princ &quot;&nbsp; &nbsp; &nbsp; Dz: &quot;)(princ dz) (princ)<br />
<br />
)</code><hr />
</div> </div>


	<div style="padding:10px">

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Images</legend>
			<ul>
			<li>
	<img class="inlineimg" src="/jpg.gif" alt="File Type: jpg" />
	<a href="http://www.cadtutor.net/forum/attachment.php?attachmentid=42491&amp;d=1371549654">preview.jpg&lrm;</a> 
(17.5 KB)
</li> 
			</ul>
			</fieldset>
	

	

	</div>
 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?21-AutoLISP-Visual-LISP-amp-DCL"><![CDATA[AutoLISP, Visual LISP & DCL]]></category>
			<dc:creator>prodromosm</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?80002-Help-with-a-lisp</guid>
		</item>
		<item>
			<title>Lisp to create a beadboard pattern</title>
			<link>http://www.cadtutor.net/forum/showthread.php?79995-Lisp-to-create-a-beadboard-pattern&amp;goto=newpost</link>
			<pubDate>Mon, 17 Jun 2013 20:24:20 GMT</pubDate>
			<description><![CDATA[Hello  
 
I need to know if it's possible to draw a beadboard pattern with lisp routine (You can quickly Google the name to see what I mean). The large pieces (let's call it "A") are always the same...]]></description>
			<content:encoded><![CDATA[<div>Hello <br />
<br />
I need to know if it's possible to draw a beadboard pattern with lisp routine (You can quickly Google the name to see what I mean). The large pieces (let's call it &quot;A&quot;) are always the same size and the gaps between them (Let's call it &quot;B&quot;) are also the same size. What the program should ask for is the total length, then the size for &quot;A&quot; and how many pcs are required, then calculate the &quot;B&quot; size in-between<br />
<br />
Could anyone help with this?<br />
<br />
Regards</div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?21-AutoLISP-Visual-LISP-amp-DCL"><![CDATA[AutoLISP, Visual LISP & DCL]]></category>
			<dc:creator>ADSK2007</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?79995-Lisp-to-create-a-beadboard-pattern</guid>
		</item>
		<item>
			<title>can someone help me in this case,please?</title>
			<link>http://www.cadtutor.net/forum/showthread.php?79992-can-someone-help-me-in-this-case-please&amp;goto=newpost</link>
			<pubDate>Mon, 17 Jun 2013 18:56:26 GMT</pubDate>
			<description>hi 
 
please first see attach file ! 
 
i want to insert point in crossing white line and red line ? 
 
how can i do that ?</description>
			<content:encoded><![CDATA[<div>hi<br />
<br />
please first see attach file !<br />
<br />
i want to insert point in crossing white line and red line ?<br />
<br />
how can i do that ?</div>


	<div style="padding:10px">

	

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Files</legend>
			<ul>
			<li>
	<img class="inlineimg" src="/dwg.gif" alt="File Type: dwg" />
	<a href="http://www.cadtutor.net/forum/attachment.php?attachmentid=42478&amp;d=1371495334">Drawing1.dwg&lrm;</a> 
(57.7 KB)
</li> 
			</ul>
		</fieldset>
	

	</div>
 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?21-AutoLISP-Visual-LISP-amp-DCL"><![CDATA[AutoLISP, Visual LISP & DCL]]></category>
			<dc:creator>termal007</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?79992-can-someone-help-me-in-this-case-please</guid>
		</item>
		<item>
			<title>XML DOM Events</title>
			<link>http://www.cadtutor.net/forum/showthread.php?79985-XML-DOM-Events&amp;goto=newpost</link>
			<pubDate>Mon, 17 Jun 2013 14:41:53 GMT</pubDate>
			<description><![CDATA[Hi! 
  
I´m exploring the "MSXML.DOMDocument" and found out that XML DOM has Events: 
http://msdn.microsoft.com/en-us/library/windows/desktop/ms764730(v=vs.85).aspx 
  
Is it possible to use these...]]></description>
			<content:encoded><![CDATA[<div>Hi!<br />
 <br />
I´m exploring the &quot;MSXML.DOMDocument&quot; and found out that XML DOM has Events:<br />
<a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ms764730(v=vs.85).aspx" target="_blank">http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx</a><br />
 <br />
Is it possible to use these events in AutoCAD?<br />
There is one event called: &quot;ondataavailable&quot; - Fires when new data is available.<br />
 <br />
I don´t know what I should do with it but I think it could be nice...<br />
I have a feeling that this isn´t possible but on this site there is always some big guys that have the answers. (like Lee Mac :))<br />
 <br />
Is there any Event that reacts on something outside the AutoCAD application, time or filechange maybe?</div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?21-AutoLISP-Visual-LISP-amp-DCL"><![CDATA[AutoLISP, Visual LISP & DCL]]></category>
			<dc:creator>ripuz</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?79985-XML-DOM-Events</guid>
		</item>
		<item>
			<title>Text / Dim Style Import</title>
			<link>http://www.cadtutor.net/forum/showthread.php?79982-Text-Dim-Style-Import&amp;goto=newpost</link>
			<pubDate>Mon, 17 Jun 2013 11:35:19 GMT</pubDate>
			<description>Hello everybody, 
 
Can we create Text styles or Dimension styles from a list (excel example attached)? 
 
Appreciate any idea</description>
			<content:encoded><![CDATA[<div>Hello everybody,<br />
<br />
Can we create Text styles or Dimension styles from a list (excel example attached)?<br />
<br />
Appreciate any idea</div>


	<div style="padding:10px">

	

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Files</legend>
			<ul>
			<li>
	<img class="inlineimg" src="/xls.gif" alt="File Type: xls" />
	<a href="http://www.cadtutor.net/forum/attachment.php?attachmentid=42464&amp;d=1371468858">Text style.xls&lrm;</a> 
(33.5 KB)
</li> 
			</ul>
		</fieldset>
	

	</div>
 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?21-AutoLISP-Visual-LISP-amp-DCL"><![CDATA[AutoLISP, Visual LISP & DCL]]></category>
			<dc:creator>Mohamad</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?79982-Text-Dim-Style-Import</guid>
		</item>
		<item>
			<title><![CDATA[How to "match properties" of attribute field formatting]]></title>
			<link>http://www.cadtutor.net/forum/showthread.php?79979-How-to-quot-match-properties-quot-of-attribute-field-formatting&amp;goto=newpost</link>
			<pubDate>Mon, 17 Jun 2013 08:17:15 GMT</pubDate>
			<description>I need to use same format of a field in the attribute that is in a block. 
Thing is that I have an attribute in block that is describing perimeter of an area in a drawing. Problem is that, in the...</description>
			<content:encoded><![CDATA[<div>I need to use same format of a field in the attribute that is in a block.<br />
Thing is that I have an attribute in block that is describing perimeter of an area in a drawing. Problem is that, in the same drawing, sometimes .(dot) and sometime ,(comma) was used as a decimal separator. I need to change all dots to commas of such a field using a quick lisp because there are hundreds of such blocks.<br />
<br />
Please help.<br />
<br />
I know I could use Lee Mac Areas2AttributeV1-1.lsp with a little modification, but it is still too many clicks.<br />
I'd like to select attribute in one of the blocks, copy it's formatting parameters and translate them to other attributes by clicking on them, like using match properties. <br />
I must leave the object that the attribute is referenced to unchanged.</div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?21-AutoLISP-Visual-LISP-amp-DCL"><![CDATA[AutoLISP, Visual LISP & DCL]]></category>
			<dc:creator>ibach</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?79979-How-to-quot-match-properties-quot-of-attribute-field-formatting</guid>
		</item>
		<item>
			<title>I am searching for lisps in MEP</title>
			<link>http://www.cadtutor.net/forum/showthread.php?79977-I-am-searching-for-lisps-in-MEP&amp;goto=newpost</link>
			<pubDate>Mon, 17 Jun 2013 05:13:48 GMT</pubDate>
			<description>Hi all 
I am searching for lisps help me in Mechamical, Electrical and Pluming to help me in drafting 
Thanks all</description>
			<content:encoded><![CDATA[<div>Hi all<br />
I am searching for lisps help me in Mechamical, Electrical and Pluming to help me in drafting<br />
Thanks all</div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?21-AutoLISP-Visual-LISP-amp-DCL"><![CDATA[AutoLISP, Visual LISP & DCL]]></category>
			<dc:creator>asos2000</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?79977-I-am-searching-for-lisps-in-MEP</guid>
		</item>
		<item>
			<title>Lisp Request</title>
			<link>http://www.cadtutor.net/forum/showthread.php?79968-Lisp-Request&amp;goto=newpost</link>
			<pubDate>Sat, 15 Jun 2013 17:47:04 GMT</pubDate>
			<description>I need a lisp of below two functions: 
 
y = a sin t 
x = a cos t 
 
I need it for my 3D modeling work. 
 
After the graph of above two functions is created in AutoCAD, I want to extrude it. 
...</description>
			<content:encoded><![CDATA[<div>I need a lisp of below two functions:<br />
<br />
y = a sin t<br />
x = a cos t<br />
<br />
I need it for my 3D modeling work.<br />
<br />
After the graph of above two functions is created in AutoCAD, I want to extrude it.<br />
<br />
Similar as when you create a line, circle, ellipse, spline, polygon, or a box.</div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?21-AutoLISP-Visual-LISP-amp-DCL"><![CDATA[AutoLISP, Visual LISP & DCL]]></category>
			<dc:creator>automaticad</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?79968-Lisp-Request</guid>
		</item>
		<item>
			<title>grread, Dynamic Drag a Selection set</title>
			<link>http://www.cadtutor.net/forum/showthread.php?79964-grread-Dynamic-Drag-a-Selection-set&amp;goto=newpost</link>
			<pubDate>Sat, 15 Jun 2013 08:05:28 GMT</pubDate>
			<description>dear sir, 
i am trying to archive attched image resulat    
insert block with grread not working 
gif file not attached  
attached zip file  
Attachment 42425...</description>
			<content:encoded><![CDATA[<div>dear sir,<br />
i am trying to archive attched image resulat   <br />
insert block with grread not working<br />
gif file not attached <br />
attached zip file <br />
<a href="http://www.cadtutor.net/forum/attachment.php?attachmentid=42425"  title="Name:  
Views: 
Size:  ">Attachment 42425</a><br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">(defun c:tt ()<br />
(vl-load-com)<br />
(setq *error_bak* *error*)<br />
(setq pt (cadr (grread T 8)))<br />
(vl-cmdf &quot;-insert&quot; &quot;add blok name&quot; pt &quot;&quot; &quot;&quot; &quot;0&quot;);add block name<br />
(setq ss (entlast))<br />
(setq entdb (entget ss))<br />
(setq ang 0)<br />
(setq loop T)<br />
(setq *error* *error*_non)<br />
(while loop<br />
&nbsp;(setq code (grread T 8))<br />
&nbsp;(cond<br />
((or (= (car code) 5) (= (car code) 3))<br />
&nbsp;(if (= (car code) 3)<br />
(setq loop nil)<br />
&nbsp;)<br />
(setq sendpt (cadr code))<br />
&nbsp;(vla-put-Visible (vlax-ename-&gt;vla-object ss) :vlax-false)<br />
&nbsp;(setq endpt (osnap sendpt &quot;endp,center,int,mid&quot;))<br />
(vla-put-Visible (vlax-ename-&gt;vla-object ss) :vlax-true)<br />
&nbsp;(if endpt<br />
(progn<br />
&nbsp;(vla-put-InsertionPoint<br />
(vlax-ename-&gt;vla-object ss)<br />
(vlax-3D-point endpt)<br />
&nbsp;)<br />
)<br />
(progn<br />
<br />
(vla-put-InsertionPoint<br />
(vlax-ename-&gt;vla-object ss)<br />
(vlax-3D-point sendpt)<br />
&nbsp;)<br />
)<br />
&nbsp;)<br />
)<br />
((or (equal code '(2 65)) (equal code '(2 97)))<br />
(progn<br />
(setq ang (+ ang (* pi 0.5)))<br />
(vla-put-Rotation (vlax-ename-&gt;vla-object ss) ang)<br />
&nbsp;)<br />
)<br />
&nbsp;)<br />
)<br />
(setq *error* *error_bak*)<br />
)<br />
(defun *error*_non (msg)<br />
(setq *error* *error_bak*)<br />
(entdel (entlast))<br />
)</code><hr />
</div> </div>


	<div style="padding:10px">

	

	

	

	
		<fieldset class="fieldset">
			<legend>Attached Files</legend>
			<ul>
			<li>
	<img class="inlineimg" src="/zip.gif" alt="File Type: zip" />
	<a href="http://www.cadtutor.net/forum/attachment.php?attachmentid=42425&amp;d=1371285746">1555.zip&lrm;</a> 
(225.2 KB)
</li> 
			</ul>
		</fieldset>
	

	</div>
 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?21-AutoLISP-Visual-LISP-amp-DCL"><![CDATA[AutoLISP, Visual LISP & DCL]]></category>
			<dc:creator>autolisp</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?79964-grread-Dynamic-Drag-a-Selection-set</guid>
		</item>
		<item>
			<title>ViewPort Handling</title>
			<link>http://www.cadtutor.net/forum/showthread.php?79961-ViewPort-Handling&amp;goto=newpost</link>
			<pubDate>Fri, 14 Jun 2013 18:21:04 GMT</pubDate>
			<description><![CDATA[Hello, 
I've searched about this issue but I couldn't find anything useful to me. 
I'm trying to make something like this: 
I have a square inside my Model and a square ViewPort inside my Layout. I...]]></description>
			<content:encoded><![CDATA[<div>Hello,<br />
I've searched about this issue but I couldn't find anything useful to me.<br />
I'm trying to make something like this:<br />
I have a square inside my Model and a square ViewPort inside my Layout. I need  to make the viewport to zoom to a point until the square inside my Model fits the ViewPort.<br />
I have no idea how to work with ViewPorts using lisp :/<br />
I can upload a screenshot if it's too confusing<br />
<br />
Thank you (:</div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?21-AutoLISP-Visual-LISP-amp-DCL"><![CDATA[AutoLISP, Visual LISP & DCL]]></category>
			<dc:creator>fabriciorby</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?79961-ViewPort-Handling</guid>
		</item>
		<item>
			<title>Change text LISP routine</title>
			<link>http://www.cadtutor.net/forum/showthread.php?79942-Change-text-LISP-routine&amp;goto=newpost</link>
			<pubDate>Thu, 13 Jun 2013 22:10:43 GMT</pubDate>
			<description><![CDATA[HI all!! 
I have written a LISP routine to change certain text. However.... if one of the items that I want to change does not exist in the drawings the lisp routine doesn't work. Can some one tell...]]></description>
			<content:encoded><![CDATA[<div>HI all!!<br />
I have written a LISP routine to change certain text. However.... if one of the items that I want to change does not exist in the drawings the lisp routine doesn't work. Can some one tell me where I have gone wrong?<br />
 <br />
My work computer wont allow me to add the file so this is a portion of the file....<br />
 <br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">(defun C:GHJ ; = Text Replace for Complete text/mtext strings, pre-defined content<br />
&nbsp; (/ tss tdata)<br />
&nbsp; (setq tss (ssget &quot;X&quot; (list (cons 1 &quot;*0*VERTICAL BEND&quot;))))<br />
&nbsp; (repeat (sslength tss)<br />
&nbsp; &nbsp; (setq<br />
&nbsp; &nbsp; &nbsp; tdata (entget (ssname tss 0))<br />
&nbsp; &nbsp; &nbsp; tdata (subst (cons 1 &quot;JOINT DEFLECTION&quot;) (assoc 1 tdata) tdata)<br />
&nbsp; &nbsp; ); end setq<br />
&nbsp; &nbsp; (entmod tdata)<br />
&nbsp; &nbsp; (ssdel (ssname tss 0) tss)<br />
&nbsp; ); end repeat<br />
&nbsp; (setq tss (ssget &quot;X&quot; (list (cons 1 &quot;*4*VERTICAL BEND&quot;))))<br />
&nbsp; (repeat (sslength tss)<br />
&nbsp; &nbsp; (setq<br />
&nbsp; &nbsp; &nbsp; tdata (entget (ssname tss 0))<br />
&nbsp; &nbsp; &nbsp; tdata (subst (cons 1 &quot;2 JOINT DEFLECTIONs&quot;) (assoc 1 tdata) tdata)<br />
&nbsp; &nbsp; ); end setq<br />
&nbsp; &nbsp; (entmod tdata)<br />
&nbsp; &nbsp; (ssdel (ssname tss 0) tss)<br />
&nbsp; ); end repeat<br />
); end defun</code><hr />
</div> If the first instance isn't met, the second instance wont work.</div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?21-AutoLISP-Visual-LISP-amp-DCL"><![CDATA[AutoLISP, Visual LISP & DCL]]></category>
			<dc:creator>denverado</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?79942-Change-text-LISP-routine</guid>
		</item>
		<item>
			<title>How do you code in a Cancel function?</title>
			<link>http://www.cadtutor.net/forum/showthread.php?79941-How-do-you-code-in-a-Cancel-function&amp;goto=newpost</link>
			<pubDate>Thu, 13 Jun 2013 21:27:59 GMT</pubDate>
			<description><![CDATA[I am trying to modify an existing lisp routine to include a function for the user (that's me) to cancel running the routine. When the lisp is running, there seems to be no way to cancel it. (and for...]]></description>
			<content:encoded><![CDATA[<div>I am trying to modify an existing lisp routine to include a function for the user (that's me) to cancel running the routine. When the lisp is running, there seems to be no way to cancel it. (and for a large dwg it can take a long, long time to finish) I wouldn't think you'd have to code an exit or quit function in a program, but apparently for this one I do because the only way to quit is to CTRL+SHFT+ESC and kill the ACAD process. Thx.</div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?21-AutoLISP-Visual-LISP-amp-DCL"><![CDATA[AutoLISP, Visual LISP & DCL]]></category>
			<dc:creator>daha</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?79941-How-do-you-code-in-a-Cancel-function</guid>
		</item>
		<item>
			<title>filter/separate the letters/numbers</title>
			<link>http://www.cadtutor.net/forum/showthread.php?79926-filter-separate-the-letters-numbers&amp;goto=newpost</link>
			<pubDate>Thu, 13 Jun 2013 16:23:04 GMT</pubDate>
			<description>Does anyone know and can indicate some routine that allows, in a selection of text, to filter/separate the letters/numbers?</description>
			<content:encoded><![CDATA[<div>Does anyone know and can indicate some routine that allows, in a selection of text, to filter/separate the letters/numbers?</div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?21-AutoLISP-Visual-LISP-amp-DCL"><![CDATA[AutoLISP, Visual LISP & DCL]]></category>
			<dc:creator>teknomatika</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?79926-filter-separate-the-letters-numbers</guid>
		</item>
		<item>
			<title>beginner LISP question about appending code</title>
			<link>http://www.cadtutor.net/forum/showthread.php?79923-beginner-LISP-question-about-appending-code&amp;goto=newpost</link>
			<pubDate>Thu, 13 Jun 2013 14:27:42 GMT</pubDate>
			<description><![CDATA[EDIT: [SOLVED] See Lee Mac's second post below. 
 
Using these forums, I found some LISP code that creates a copy of a viewport's border and places it in model space, and it works very well.   
...]]></description>
			<content:encoded><![CDATA[<div>EDIT: [SOLVED] See Lee Mac's second post below.<br />
<br />
Using these forums, I found some LISP code that creates a copy of a viewport's border and places it in model space, and it works very well.  <br />
 <font face="&amp;quot">http://www.jtbworld.com/lisp/vp-outline.htm</font><br />
  <br />
But I wanted to take it a step further. <br />
<br />
So I appended some new code just before the original code's last parenthesis...but it doesn't work correctly.  My goal is to have the LISP finish by selecting that newly created border and then putting it into a newly created group with an auto-assigned name (which is why I don't put a &quot;-&quot; in front of the .group command).<br />
<br />
The new code I added at the end just before the original code's last close-parenthesis:<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">(command &quot;.select&quot; &quot;L&quot; ; (princ)<br />
)<br />
(command &quot;.group&quot; (princ)<br />
)<br />
(princ)</code><hr />
</div> Running the LISP gives the following error in the command line history:<br />
<br />
Command: VP-OUTLINE-ANDGROUP<br />
.select<br />
Select objects: L 1 found<br />
Select objects: .group<br />
*Invalid selection*<br />
Expects a point or Window/Last/Crossing/BOX/ALL/Fence/WPolygon/CPolygon/Group/Add/Remove/Multiple/Previous/Undo/AUto/SIngle/SUbobject/Object<br />
; error: Function cancelled<br />
<br />
<br />
What am I doing wrong?</div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?21-AutoLISP-Visual-LISP-amp-DCL"><![CDATA[AutoLISP, Visual LISP & DCL]]></category>
			<dc:creator>Marvin7</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?79923-beginner-LISP-question-about-appending-code</guid>
		</item>
	</channel>
</rss>
