<?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>AutoCAD Forums</title>
		<link>http://www.cadtutor.net/forum/</link>
		<description>This is the CADTutor community forum, providing free help and advice for beginners and experienced users of AutoCAD.</description>
		<language>en</language>
		<lastBuildDate>Sun, 05 Sep 2010 03:45:11 GMT</lastBuildDate>
		<generator>vBulletin</generator>
		<ttl>60</ttl>
		<image>
			<url>http://www.cadtutor.net/forum/images/misc_cadtutor/rss.png</url>
			<title>AutoCAD Forums</title>
			<link>http://www.cadtutor.net/forum/</link>
		</image>
		<item>
			<title>Advanced Block</title>
			<link>http://www.cadtutor.net/forum/showthread.php?52134-Advanced-Block&amp;goto=newpost</link>
			<pubDate>Sun, 05 Sep 2010 03:30:23 GMT</pubDate>
			<description><![CDATA[Hi! 
 
I've long wanted a set of blocks that had a quantity of "intelligence" - but I could never find the time to learn the programming API. ...]]></description>
			<content:encoded><![CDATA[<div>Hi!<br />
<br />
I've long wanted a set of blocks that had a quantity of &quot;intelligence&quot; - but I could never find the time to learn the programming API.  Recently I was introduced to the power of dynamic blocks - and I'm quite excited!<br />
<br />
I've got much of what I want implemented - I need some help trying to finish it up.  There are actually several questions contained in this post - please bear with me.<br />
<br />
First of all, there's a quantity of geometry that needs to be changed depending on a selection.  This seems to call for a visibility parameter - and seems to work well.  While I'm at it - I should ask if I've implemented this the &quot;hard&quot; way or not.  The main geometry that gets affected is a square hatch area - depending on the visibility state, the size of the hatch with its outline square changes.  There's no direct numerical relationship between the visibility state name and the size of the square.  So I have a dozen states named &quot;15, 30, 75, 110, etc.&quot; and the geometry should then be 20'x20', 30'x30', 38'x38', etc.  At this time, I've implemented this by creating a number of simple blocks each containing the square hatch at a given size.  I then block'ed all these together and toggle them with a visibility state.<br />
<br />
Now, after I've selected the visibility state, I want to both have it available as an attribute and display a text on the block.  I have no idea how to link this with an attribute - and the only way I now know to get the text to display is to generate a dozen texts and control them via the same visibility parameter.  Is there a better way?  And how can I set an attribute value from this method?  I should add - the reason I want to set an attribute value is to later extract that information for counting purposes.</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=22877&amp;d=1283657593">test.dwg</a> 
(89.7 KB)
</li> 
			</ul>
		</fieldset>
	

	</div>
 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?17-AutoCAD-Drawing-Management-amp-Output"><![CDATA[AutoCAD Drawing Management & Output]]></category>
			<dc:creator>BigThumper</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?52134-Advanced-Block</guid>
		</item>
		<item>
			<title>Issue looping through my cad files</title>
			<link>http://www.cadtutor.net/forum/showthread.php?52133-Issue-looping-through-my-cad-files&amp;goto=newpost</link>
			<pubDate>Sun, 05 Sep 2010 03:01:57 GMT</pubDate>
			<description>I am doing some .net testing and I am running into so problems. I am looping through a directory that hold multiple Autocad files. I then open one at...</description>
			<content:encoded><![CDATA[<div>I am doing some .net testing and I am running into so problems. I am looping through a directory that hold multiple Autocad files. I then open one at a time and try to do a selection set, but here comes my problem just as the drawing opens the default Drawing1.dwg (blank) drawing opens right on top of it; and if I close it out the same thing happens on the next drawing.<br />
<br />
Here is my code if anyone would like to solve this.  Thanks!<br />
<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code"><br />
Public Class Class1<br />
<br />
&nbsp; &nbsp; Dim ed As Editor = Application.DocumentManager.MdiActiveDocument.Editor<br />
<br />
&nbsp; &nbsp; &lt;CommandMethod(&quot;comp&quot;)&gt; _<br />
&nbsp; &nbsp; Public Sub createLine()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim mPath As String = &quot;&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim mFxdNm As String = &quot;&quot;<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; ' First create a FolderBrowserDialog object<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim FolderBrowserDialog1 As New Forms.FolderBrowserDialog<br />
&nbsp; &nbsp; &nbsp; &nbsp; With FolderBrowserDialog1<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .RootFolder = Environment.SpecialFolder.Desktop<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .SelectedPath = &quot;c:\dxfTest&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .Description = &quot;Select the source directory&quot;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If .ShowDialog = Forms.DialogResult.OK Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mPath = .SelectedPath.ToString<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim last_char = mPath.Substring(mPath.Length - 1)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If last_char &lt;&gt; &quot;\&quot; Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; mPath = (mPath &amp; &quot;\&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; &nbsp; &nbsp; End With<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; Dim files() As String ' keeps a list of all nest sums<br />
&nbsp; &nbsp; &nbsp; &nbsp; files = System.IO.Directory.GetFiles(mPath, &quot;*.dwg&quot;) ' gets list of files names in folder<br />
&nbsp; &nbsp; &nbsp; &nbsp; For Each fname In files&nbsp; ' Loops Through files() array and parces every nest sum<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim strFileName As String = fname<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim acDocMgr As DocumentCollection = Application.DocumentManager<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If (File.Exists(strFileName)) Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; acDocMgr.Open(strFileName, False)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' Get the current document and database<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim acDoc As Document = Application.DocumentManager.MdiActiveDocument<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim acCurDb As Database = acDoc.Database<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' Start a transaction<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Using acTrans As Transaction = acCurDb.TransactionManager.StartTransaction()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' Request for objects to be selected in the drawing area<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim acSSPrompt As PromptSelectionResult = acDoc.Editor.GetSelection()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' If the prompt status is OK, objects were selected<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If acSSPrompt.Status = PromptStatus.OK Then<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim acSSet As SelectionSet = acSSPrompt.Value<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' Step through the objects in the selection set<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; For Each acSSObj As SelectedObject In acSSet<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' Check to make sure a valid SelectedObject object was returned<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If Not IsDBNull(acSSObj) Then<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' Open the selected object for write<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Dim acEnt As Entity = acTrans.GetObject(acSSObj.ObjectId, OpenMode.ForWrite)<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; If Not IsDBNull(acEnt) Then<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' Change the object's color to Green<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; acEnt.ColorIndex = 3<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Next<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' Save the new object to the database<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; acTrans.Commit()<br />
<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ' Dispose of the transaction<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End Using<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Else<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; acDocMgr.MdiActiveDocument.Editor.WriteMessage(&quot;File &quot; &amp; strFileName &amp; &quot; does not exist.&quot;)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; End If<br />
&nbsp; &nbsp; &nbsp; &nbsp; Next<br />
&nbsp; &nbsp; End Sub<br />
<br />
End Class</code><hr />
</div> <i>and the imports:</i><br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">Imports System<br />
Imports System.IO<br />
Imports System.Windows<br />
Imports Autodesk.AutoCAD.Colors<br />
Imports Autodesk.AutoCAD.Runtime<br />
Imports Autodesk.AutoCAD.Geometry<br />
Imports Autodesk.AutoCAD.EditorInput<br />
Imports System.Runtime.InteropServices<br />
Imports Autodesk.AutoCAD.DatabaseServices<br />
Imports Autodesk.AutoCAD.ApplicationServices<br />
Imports Autodesk.AutoCAD.Windows</code><hr />
</div> </div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?69-.NET-ObjectARX-amp-VBA"><![CDATA[.NET, ObjectARX & VBA]]></category>
			<dc:creator>RMS</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?52133-Issue-looping-through-my-cad-files</guid>
		</item>
		<item>
			<title>Make Autocad run smoother...</title>
			<link>http://www.cadtutor.net/forum/showthread.php?52132-Make-Autocad-run-smoother...&amp;goto=newpost</link>
			<pubDate>Sun, 05 Sep 2010 02:43:36 GMT</pubDate>
			<description><![CDATA[What kind of things do others do to help the program run faster...i.e. turn of xrefs, etc.  
  
I'm looking for things that new users could do to...]]></description>
			<content:encoded><![CDATA[<div>What kind of things do others do to help the program run faster...i.e. turn of xrefs, etc. <br />
 <br />
I'm looking for things that new users could do to help make their drawing environment a little more user friendly.<br />
 <br />
thanks!</div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?19-AutoCAD-General">AutoCAD General</category>
			<dc:creator>kevin1973</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?52132-Make-Autocad-run-smoother...</guid>
		</item>
		<item>
			<title>Make LAYER, COLOR, LINETYPE current,, that works with DIMENSION, TEXT too</title>
			<link>http://www.cadtutor.net/forum/showthread.php?52131-Make-LAYER-COLOR-LINETYPE-current-that-works-with-DIMENSION-TEXT-too&amp;goto=newpost</link>
			<pubDate>Sun, 05 Sep 2010 01:37:01 GMT</pubDate>
			<description><![CDATA[hi,, ive been figuring out how "Laymcur" and "MATCHPROP" can be combined into 1,,meaning if i picked an entity say "line" the layer, color,...]]></description>
			<content:encoded><![CDATA[<div>hi,, ive been figuring out how &quot;Laymcur&quot; and &quot;MATCHPROP&quot; can be combined into 1,,meaning if i picked an entity say &quot;line&quot; the layer, color, linetype,of the picked entity will all be the current one, ready to be use for another command.<br />
<br />
that goes for dimension (dim style, dim layer) and text (text syle, text layer) as well.<br />
<br />
but i guest my being noob in lisp make me more confuse :oops:,,,please help.<br />
<br />
many thanks :)</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>pryzmm</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?52131-Make-LAYER-COLOR-LINETYPE-current-that-works-with-DIMENSION-TEXT-too</guid>
		</item>
		<item>
			<title>AutoCad affects Desktop Graphics</title>
			<link>http://www.cadtutor.net/forum/showthread.php?52130-AutoCad-affects-Desktop-Graphics&amp;goto=newpost</link>
			<pubDate>Sat, 04 Sep 2010 22:47:10 GMT</pubDate>
			<description>Using AautoCad 2008, Dell Inspiron with Vista (Home). 
 
When I start AutoCad my graphics go haywire. I lose reolution and screen looks awful....</description>
			<content:encoded><![CDATA[<div>Using AautoCad 2008, Dell Inspiron with Vista (Home).<br />
<br />
When I start AutoCad my graphics go haywire. I lose reolution and screen looks awful. reverts back to normal when I close down.<br />
<br />
Does anyone know why?<br />
<br />
Thanks<br />
<br />
Angus</div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?54-Hardware-amp-Operating-Systems"><![CDATA[Hardware & Operating Systems]]></category>
			<dc:creator>Angus J</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?52130-AutoCad-affects-Desktop-Graphics</guid>
		</item>
		<item>
			<title>Autodesk Butterfly web app and WS mobile platform...</title>
			<link>http://www.cadtutor.net/forum/showthread.php?52129-Autodesk-Butterfly-web-app-and-WS-mobile-platform...&amp;goto=newpost</link>
			<pubDate>Sat, 04 Sep 2010 22:19:50 GMT</pubDate>
			<description>Anyone seen this? 
 
http://butterfly.autodesk.com/blog/what-is-butterfly/ 
 
and this? 
 
https://butterfly.autodesk.com/mobile/ 
 
Looks pretty...</description>
			<content:encoded><![CDATA[<div>Anyone seen this?<br />
<br />
<a href="http://butterfly.autodesk.com/blog/what-is-butterfly/" target="_blank">http://butterfly.autodesk.com/blog/what-is-butterfly/</a><br />
<br />
and this?<br />
<br />
<a href="https://butterfly.autodesk.com/mobile/" target="_blank">https://butterfly.autodesk.com/mobile/</a><br />
<br />
Looks pretty good I reckon, the facility to co-edit is especially interesting...</div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?64-Software-amp-Licensing"><![CDATA[Software & Licensing]]></category>
			<dc:creator>Paul H</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?52129-Autodesk-Butterfly-web-app-and-WS-mobile-platform...</guid>
		</item>
		<item>
			<title>Pre loaded fixtures</title>
			<link>http://www.cadtutor.net/forum/showthread.php?52128-Pre-loaded-fixtures&amp;goto=newpost</link>
			<pubDate>Sat, 04 Sep 2010 20:56:25 GMT</pubDate>
			<description>Are there any pre loaded toilets, sinks cabinents in Auto cad 2008?</description>
			<content:encoded><![CDATA[<div>Are there any pre loaded toilets, sinks cabinents in Auto cad 2008?</div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?18-AutoCAD-Beginners-Area"><![CDATA[AutoCAD Beginners' Area]]></category>
			<dc:creator>FLAFTER5</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?52128-Pre-loaded-fixtures</guid>
		</item>
		<item>
			<title>Mapcar + lambda Description</title>
			<link>http://www.cadtutor.net/forum/showthread.php?52127-Mapcar-lambda-Description&amp;goto=newpost</link>
			<pubDate>Sat, 04 Sep 2010 19:44:30 GMT</pubDate>
			<description>Hi GUYS. :) 
  
I have read the Help which attached with Autocad and Afralisp explainations about  
mapcar and lambda but without a chance to...</description>
			<content:encoded><![CDATA[<div>Hi GUYS. :)<br />
 <br />
I have read the Help which attached with Autocad and Afralisp explainations about <br />
mapcar and lambda but without a chance to understand. :lol:<br />
 <br />
So if someone could help me with it, It would be very kind favor.<br />
 <br />
Thankxxxxxxx<br />
 <br />
<b><font color="blue">Sweety.</font></b></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>Sweety</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?52127-Mapcar-lambda-Description</guid>
		</item>
		<item>
			<title>Flat pattern a boat hull</title>
			<link>http://www.cadtutor.net/forum/showthread.php?52126-Flat-pattern-a-boat-hull&amp;goto=newpost</link>
			<pubDate>Sat, 04 Sep 2010 18:09:02 GMT</pubDate>
			<description>Is there a way to create a flat pattern of this boat hull?  
I´m using inventor 2009.</description>
			<content:encoded><![CDATA[<div>Is there a way to create a flat pattern of this boat hull? <br />
I´m using inventor 2009.</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=22875&amp;d=1283623650">Boat hull.zip</a> 
(246.9 KB)
</li> 
			</ul>
		</fieldset>
	

	</div>
 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?32-Autodesk-Inventor">Autodesk Inventor</category>
			<dc:creator>Krylbo</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?52126-Flat-pattern-a-boat-hull</guid>
		</item>
		<item>
			<title>Help needed with a Lisp .</title>
			<link>http://www.cadtutor.net/forum/showthread.php?52124-Help-needed-with-a-Lisp-.&amp;goto=newpost</link>
			<pubDate>Sat, 04 Sep 2010 07:46:18 GMT</pubDate>
			<description>Hello. 
 
I wonder why this routine although it is creating a Layer(s) of the selected block(s) 
it return an error at the end. 
 
---Quote--- 
;...</description>
			<content:encoded><![CDATA[<div>Hello.<br />
<br />
I wonder why this routine although it is creating a Layer(s) of the selected block(s)<br />
it return an error at the end.<br />
<div class="bbcode_container">
	<div class="bbcode_description">Quote:</div>
	<div class="bbcode_quote printable">
		<hr />
		
			; error: bad argument type: lentityp nil
			
		<hr />
	</div>
</div> Here is the routine .<br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code">(defun c:blk (/ ss1 i num e blkNme )<br />
&nbsp;(prompt &quot;Select Block(s): &quot;)<br />
&nbsp; (if (setq ss1 (ssget &quot;:L&quot; '((0 . &quot;INSERT&quot;))))<br />
&nbsp; &nbsp;  (progn<br />
&nbsp; &nbsp; &nbsp;  (setq i -1<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  num (sslength ss1))<br />
&nbsp; &nbsp; &nbsp; &nbsp;  (while (&lt; i num)<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  (setq e (entget (ssname ss1 (setq i (1+ i))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; )<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; )<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; )<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  (setq&nbsp; BlkNme<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; (cdr (assoc 2 e))<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  )<br />
&nbsp; &nbsp; (vl-cmdf &quot;_.-layer&quot; &quot;_m&quot; BlkNme &quot;&quot; &quot;&quot;)<br />
&nbsp; &nbsp; &nbsp;  ))<br />
&nbsp; &nbsp; (princ &quot;Nothing Selected&quot;)<br />
&nbsp; )<br />
&nbsp; (princ)<br />
&nbsp; )</code><hr />
</div> Thanks.<br />
<br />
Tharwat</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>tharwat313</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?52124-Help-needed-with-a-Lisp-.</guid>
		</item>
		<item>
			<title>Pump Inducer</title>
			<link>http://www.cadtutor.net/forum/showthread.php?52122-Pump-Inducer&amp;goto=newpost</link>
			<pubDate>Sat, 04 Sep 2010 04:01:21 GMT</pubDate>
			<description>Hello, 
  
Could anyone please tell me how to create the 3-D model for a pump inducer? 
  
(more specifically, the inducer for an LMV-311 sundyne...</description>
			<content:encoded><![CDATA[<div>Hello,<br />
 <br />
Could anyone please tell me how to create the 3-D model for a pump inducer?<br />
 <br />
(more specifically, the inducer for an LMV-311 sundyne pump?)-am a complete beginner..<br />
 <br />
Thanks</div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?20-AutoCAD-3D-Modelling-amp-Rendering"><![CDATA[AutoCAD 3D Modelling & Rendering]]></category>
			<dc:creator>rahulverma</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?52122-Pump-Inducer</guid>
		</item>
		<item>
			<title>help - Im not sure what comes next</title>
			<link>http://www.cadtutor.net/forum/showthread.php?52121-help-Im-not-sure-what-comes-next&amp;goto=newpost</link>
			<pubDate>Sat, 04 Sep 2010 03:30:21 GMT</pubDate>
			<description>HelloI am hoping someone can assist me with what is probably a very basic question.  
I have a simple image that i would like laser cut into plastic...</description>
			<content:encoded><![CDATA[<div><font face="Arial"><font size="2"><font face="Arial"><font size="2">Hello</font></font></font></font><font size="2"><br />
</font><font face="Arial"><font size="2"><font face="Arial"><font size="2">I am hoping someone can assist me with what is probably a very basic question. <br />
I have a simple image that i would like laser cut into plastic (the image is a leaf with rounded edges but one continuous line). Currently this image is hand drawn on a piece of paper and smaller than the actual size I want it cut out at.</font></font></font></font><font size="2"><br />
</font><font face="Arial"><font size="2"><font face="Arial"><font size="2">I went into the cutting place and the person advised me i needed the image in a dxf file. <br />
Is it simply a case of photocopying my image, converting it to pdf and then using a product (eg an online PDF to DXF Converter) to obtain a dxf file???</font></font></font></font><font size="2"><br />
</font><font face="Arial"><font size="2"><font face="Arial"><font size="2">Any assistance would be apprecciated as I am unfamiliar with this sort of work and these types of files. <br />
Thankyou David<br />
</font></font></font></font></div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?18-AutoCAD-Beginners-Area"><![CDATA[AutoCAD Beginners' Area]]></category>
			<dc:creator>Davidd</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?52121-help-Im-not-sure-what-comes-next</guid>
		</item>
		<item>
			<title>Cannot find file WD_WNV</title>
			<link>http://www.cadtutor.net/forum/showthread.php?52120-Cannot-find-file-WD_WNV&amp;goto=newpost</link>
			<pubDate>Sat, 04 Sep 2010 03:02:50 GMT</pubDate>
			<description>Hi, I am a college student and I am taking a home-study course in ACADE 2010. 
I am spending more time trying to get the program to run than actual...</description>
			<content:encoded><![CDATA[<div>Hi, I am a college student and I am taking a home-study course in ACADE 2010.<br />
I am spending more time trying to get the program to run than actual productive studying! I am trying to insert wire numbers and or wires and I get an ERROR: Cannot find file &quot;WD_WNV&quot;. So, therefore I can't do anything. I am stuck dead in the water. <u>I</u> can't find the file either. I am using the Tickoo book as a course book. I am trying to work through the tutorials in the book. <b>Can someone help??:cry:</b></div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?66-AutoCAD-Bugs-Error-Messages-amp-Quirks"><![CDATA[AutoCAD Bugs, Error Messages & Quirks]]></category>
			<dc:creator>GregHarmon</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?52120-Cannot-find-file-WD_WNV</guid>
		</item>
		<item>
			<title>Help with AutoCad 2000 start up</title>
			<link>http://www.cadtutor.net/forum/showthread.php?52115-Help-with-AutoCad-2000-start-up&amp;goto=newpost</link>
			<pubDate>Fri, 03 Sep 2010 22:42:04 GMT</pubDate>
			<description>Hi 
Here is my problem. 
When I open up AuyoCad 2000, it goes to a new drawing. 
It use to open a small window o let me pick either standers or...</description>
			<content:encoded><![CDATA[<div>Hi<br />
Here is my problem.<br />
When I open up AuyoCad 2000, it goes to a new drawing.<br />
It use to open a small window o let me pick either standers or metric dimensions.<br />
How can I git it back to where it will? <br />
Thank you for your time.<br />
Sam Gurrera</div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?18-AutoCAD-Beginners-Area"><![CDATA[AutoCAD Beginners' Area]]></category>
			<dc:creator>gurrera</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?52115-Help-with-AutoCad-2000-start-up</guid>
		</item>
		<item>
			<title><![CDATA["SAVE" Setting In Inventor 2009 ???]]></title>
			<link>http://www.cadtutor.net/forum/showthread.php?52114-quot-SAVE-quot-Setting-In-Inventor-2009&amp;goto=newpost</link>
			<pubDate>Fri, 03 Sep 2010 20:46:50 GMT</pubDate>
			<description>In AutoCAD, you can change the *SAVE* settings from 1 minute to 120 minutes. 
In the event of a power failure, everything is saved, according to how...</description>
			<content:encoded><![CDATA[<div>In AutoCAD, you can change the <b>SAVE</b> settings from 1 minute to 120 minutes.<br />
In the event of a power failure, everything is saved, according to how long you have the settings set to.<br />
 <br />
Is there a similiar automatic <b>SAVE</b> feature in IV 2009?</div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?32-Autodesk-Inventor">Autodesk Inventor</category>
			<dc:creator>vertical horizons</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?52114-quot-SAVE-quot-Setting-In-Inventor-2009</guid>
		</item>
	</channel>
</rss>
