<?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>Mon, 06 Sep 2010 03:17:39 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>Drawings with Multiple Floors on Model Space</title>
			<link>http://www.cadtutor.net/forum/showthread.php?52143-Drawings-with-Multiple-Floors-on-Model-Space&amp;goto=newpost</link>
			<pubDate>Mon, 06 Sep 2010 02:31:19 GMT</pubDate>
			<description>Total beginner here.  Usually I receive a file from an arhcitect that has a separate file for each floor.  However this file is different, every...</description>
			<content:encoded><![CDATA[<div>Total beginner here.  Usually I receive a file from an arhcitect that has a separate file for each floor.  However this file is different, every floor and even elevations are shown in the model space.<br />
<br />
This presents a challenge to me because what I usually do is zoom extents, save and then import the floor into another program I work with.  But in this instance zoom extents shows the entire drawing and if I import it's going to import all the different floors.<br />
<br />
I assume there is some way to &quot;isolate&quot; each view so that it exports/imports like an individual drawing but I do not know how.  Any advice?<br />
<br />
Thanks</div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?18-AutoCAD-Beginners-Area"><![CDATA[AutoCAD Beginners' Area]]></category>
			<dc:creator>David_Feynman</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?52143-Drawings-with-Multiple-Floors-on-Model-Space</guid>
		</item>
		<item>
			<title>autocad lt 2011 constant random crash</title>
			<link>http://www.cadtutor.net/forum/showthread.php?52142-autocad-lt-2011-constant-random-crash&amp;goto=newpost</link>
			<pubDate>Mon, 06 Sep 2010 01:23:03 GMT</pubDate>
			<description>hi guys, 
  
My computer just got upgraded to autocad 2011 lt and now it seems to crash randomly, without warning as if someone killed the process,...</description>
			<content:encoded><![CDATA[<div>hi guys,<br />
 <br />
My computer just got upgraded to autocad 2011 lt and now it seems to crash randomly, without warning as if someone killed the process, since this started the computer has had a full reimage and like some sort of rebuild with new ram put in it.<br />
 <br />
system specs:<br />
 <br />
win xp pro service pack 3<br />
AMD athlon 64 X@ dual core 3800+2.01 ghz<br />
2.00gb <br />
NVIDIA GeForce 6600 GT<br />
 <br />
trend micro client/server security agent is the antivirus<br />
 <br />
any ideas?</div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?19-AutoCAD-General">AutoCAD General</category>
			<dc:creator>kiidaka</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?52142-autocad-lt-2011-constant-random-crash</guid>
		</item>
		<item>
			<title>Having trouble to put text label on top of my Inventor parts</title>
			<link>http://www.cadtutor.net/forum/showthread.php?52140-Having-trouble-to-put-text-label-on-top-of-my-Inventor-parts&amp;goto=newpost</link>
			<pubDate>Sun, 05 Sep 2010 19:20:04 GMT</pubDate>
			<description>Having trouble to put text label on top of my Inventor parts. Should I import image in sketch - how? Please, help</description>
			<content:encoded><![CDATA[<div>Having trouble to put text label on top of my Inventor parts. Should I import image in sketch - how? Please, help</div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?32-Autodesk-Inventor">Autodesk Inventor</category>
			<dc:creator>alexdone06</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?52140-Having-trouble-to-put-text-label-on-top-of-my-Inventor-parts</guid>
		</item>
		<item>
			<title>Sheet sets</title>
			<link>http://www.cadtutor.net/forum/showthread.php?52139-Sheet-sets&amp;goto=newpost</link>
			<pubDate>Sun, 05 Sep 2010 19:04:54 GMT</pubDate>
			<description><![CDATA[Hello 
 
Im newish to using Sheet sets. But from what i found they are very useful for project managing! 
 
Im trying to use the "insert shet list...]]></description>
			<content:encoded><![CDATA[<div>Hello<br />
<br />
Im newish to using Sheet sets. But from what i found they are very useful for project managing!<br />
<br />
Im trying to use the &quot;insert shet list table&quot; feature which i want to add revision number to. However i have added the revision number to the sheet but it wont appear in the table! Any ideas?</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>monk</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?52139-Sheet-sets</guid>
		</item>
		<item>
			<title>UCS Angular degrees</title>
			<link>http://www.cadtutor.net/forum/showthread.php?52138-UCS-Angular-degrees&amp;goto=newpost</link>
			<pubDate>Sun, 05 Sep 2010 15:20:20 GMT</pubDate>
			<description>Hello, 
 
I have a drawing which the UCS is rotated to a specific angle . 
 
How can I know the rotation (angle degree) of that UCS ? 
 
Many Thanks....</description>
			<content:encoded><![CDATA[<div>Hello,<br />
<br />
I have a drawing which the UCS is rotated to a specific angle .<br />
<br />
How can I know the rotation (angle degree) of that UCS ?<br />
<br />
Many Thanks.<br />
<br />
Michaels.</div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?19-AutoCAD-General">AutoCAD General</category>
			<dc:creator>Michaels</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?52138-UCS-Angular-degrees</guid>
		</item>
		<item>
			<title>Help! Lisp using Polar command?</title>
			<link>http://www.cadtutor.net/forum/showthread.php?52137-Help!-Lisp-using-Polar-command&amp;goto=newpost</link>
			<pubDate>Sun, 05 Sep 2010 14:24:57 GMT</pubDate>
			<description>Hi, 
  
Please can some one help me with the code below, I have (probably badly) butchered this from a tutorial I found online and modified it to my...</description>
			<content:encoded><![CDATA[<div><div align="left">Hi,</div> <br />
<div align="left">Please can some one help me with the code below, I have (probably badly) butchered this from a tutorial I found online and modified it to my needs. I thought I understood most of it but Im getting some strange results. Im very new to this so please be gentle, even if its not the best way to do it, can you bear with me and not change it completely, atleast yet until I have a better understanding anyway :)</div> <br />
<div align="left">My problem is I was hoping it would draw a circle not at the end of the line but at an offset of 2.8284 at 45 degrees. (2mm at 90 degrees) But it seems to create the centre of the circle at the end of the line instead. Is this something im doing wrong with the polar command? Although if i print new_pt variable it seems to be correct, so im confused.</div> <br />
<div align="left">Ive added the lengthen commmand myself to it so that might also be where its going wrong.</div> <br />
<div align="left">Should probably say once I have this working I want to amend it to drawing a line from end of the original line to the point new_pt, but if I can crack why this isnt working that part hopefully should be easy(ish)!</div> <br />
<div align="left">Thanks in advance.</div> <br />
<div class="bbcode_container">
	<div class="bbcode_description">Code:</div>
	<hr /><code class="bbcode_code"><div align="left">; Draw Circle at fixed offset from end of line function<br />
(defun c:Crc1 (/ aks pp aks_hand aks_pt1 aks_pt2<br />
aks_ang dist1 dist2 st_pt new_pt)<br />
;Let's select the end of the axis where we will place the bubble<br />
;and the selection point.<br />
(setq&nbsp; aks (entsel &quot;\nPick Line close to end circle is required:&quot;))<br />
;;;Shorten the line by 6mm<br />
(command &quot;_.lengthen&quot; &quot;de&quot; &quot;-6&quot; aks &quot;&quot;)</div> <br />
<div align="left">(Setq pp (cadr aks)&nbsp; &nbsp; ; Selection point (PICKPOINT)<br />
aks_hand (entget (car aks))&nbsp; ; List of axis member<br />
) </div> <br />
<div align="left">;Calculate the start and end points of axis and angle<br />
(setq&nbsp; aks_pt1 (cdr (assoc 10 aks_hand))<br />
aks_pt2 (cdr (assoc 11 aks_hand)))<br />
(setq aks_ang (angle aks_pt1 aks_pt2))<br />
;Let's find which end of axis the selection<br />
;point is more close to<br />
(setq&nbsp; dist1 (distance pp aks_pt1)<br />
dist2 (distance pp aks_pt2)<br />
)<br />
;Then set which end of the line to start circle<br />
(if (&lt; dist1 dist2) <br />
(setq st_pt aks_pt1)<br />
(setq st_pt aks_pt2)<br />
)</div> <br />
<div align="left">;find offset centre of circle<br />
(if (&lt; dist1 dist2) <br />
(setq new_pt (polar st_pt (- aks_ang (/ pi 4.0)) 2.8284))<br />
(setq new_pt (polar st_pt aks_ang 2.8284))<br />
)&nbsp; </div> <br />
<div align="left">;Draw Circle&nbsp; <br />
(command &quot;_.circle&quot; new_pt 40)<br />
(princ)<br />
)</div></code><hr />
</div> </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>DB007</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?52137-Help!-Lisp-using-Polar-command</guid>
		</item>
		<item>
			<title>Welding joints</title>
			<link>http://www.cadtutor.net/forum/showthread.php?52136-Welding-joints&amp;goto=newpost</link>
			<pubDate>Sun, 05 Sep 2010 13:43:51 GMT</pubDate>
			<description>Hi I am a brginner to autocad and I would like to know how to represent a fillet weld of 5mm of two square plates of 50x50x10 which are welded by a...</description>
			<content:encoded><![CDATA[<div>Hi I am a brginner to autocad and I would like to know how to represent a fillet weld of 5mm of two square plates of 50x50x10 which are welded by a lap joint?:oPlease help.</div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?19-AutoCAD-General">AutoCAD General</category>
			<dc:creator>kanha</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?52136-Welding-joints</guid>
		</item>
		<item>
			<title>On using LINE R on the COMMAND LINE for drawing a straight line</title>
			<link>http://www.cadtutor.net/forum/showthread.php?52135-On-using-LINE-R-on-the-COMMAND-LINE-for-drawing-a-straight-line&amp;goto=newpost</link>
			<pubDate>Sun, 05 Sep 2010 13:28:15 GMT</pubDate>
			<description><![CDATA[One method suggested to draw a straight line using AUTOCAD 2007 is by LINE <R >on the COMMAND LINE, Page 15 Beginning AutoCad 2007 by Bob Mcfarlane....]]></description>
			<content:encoded><![CDATA[<div>One method suggested to draw a straight line using AUTOCAD 2007 is by LINE &lt;R &gt;on the COMMAND LINE, Page 15 Beginning AutoCad 2007 by Bob Mcfarlane.<br />
 <br />
On Page 16 in the summary it smply says LINE to be entered on COMMAND LINE as method 3.<br />
 <br />
After either proceedure, there is no response to clicking on the board.<br />
 <br />
There is no meaning in again going back to line icon as this is an independant method anyway.<br />
 <br />
How do we proceed after entering LINE&lt;R&gt; on Command Line.<br />
 <br />
Jawahar Vidyalaya</div>

 ]]></content:encoded>
			<category domain="http://www.cadtutor.net/forum/forumdisplay.php?18-AutoCAD-Beginners-Area"><![CDATA[AutoCAD Beginners' Area]]></category>
			<dc:creator>Jawahar Vidyalaya</dc:creator>
			<guid isPermaLink="true">http://www.cadtutor.net/forum/showthread.php?52135-On-using-LINE-R-on-the-COMMAND-LINE-for-drawing-a-straight-line</guid>
		</item>
		<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>
	</channel>
</rss>
