<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re : Controlling CAD layer by windows form application C# in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/controlling-cad-layer-by-windows-form-application-c/m-p/6781492#M33292</link>
    <description>&lt;P&gt;OK, just stop here. DWG TrueView ActiveX control is not supposed to be used like that. This is not supported and beyond opening and printing documents, you cannot have access to the model, so you cannot list the layers. You need to use &lt;A href="http://stackoverflow.com/a/300824/200443" target="_self"&gt;AutoCAD OEM or a third party library to display and interact with DWG&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Jan 2017 08:23:59 GMT</pubDate>
    <dc:creator>FRFR1426</dc:creator>
    <dc:date>2017-01-04T08:23:59Z</dc:date>
    <item>
      <title>Controlling CAD layer by windows form application C#</title>
      <link>https://forums.autodesk.com/t5/net-forum/controlling-cad-layer-by-windows-form-application-c/m-p/6781260#M33289</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am new here and novice about programming.&lt;/P&gt;&lt;P&gt;Can you please help me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can&amp;nbsp;see my cad file into windows form application&lt;/P&gt;&lt;P&gt;Now I want make a list of cad layer and control the layers by selecting and deselecting in checkbox.&lt;/P&gt;&lt;P&gt;Later I want to calculate the area of my cad drawing by windows application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am eagerly waiting for any help.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2017-01-04 (5).png" style="width: 705px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/307527i6E9394EF03B243FD/image-size/large?v=v2&amp;amp;px=999" role="button" title="2017-01-04 (5).png" alt="2017-01-04 (5).png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 02:42:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/controlling-cad-layer-by-windows-form-application-c/m-p/6781260#M33289</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-04T02:42:52Z</dc:date>
    </item>
    <item>
      <title>Re : Controlling CAD layer by windows form application C#</title>
      <link>https://forums.autodesk.com/t5/net-forum/controlling-cad-layer-by-windows-form-application-c/m-p/6781446#M33290</link>
      <description>&lt;P&gt;Are you using the TrueView ActiveX control?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 07:26:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/controlling-cad-layer-by-windows-form-application-c/m-p/6781446#M33290</guid>
      <dc:creator>FRFR1426</dc:creator>
      <dc:date>2017-01-04T07:26:55Z</dc:date>
    </item>
    <item>
      <title>Re : Controlling CAD layer by windows form application C#</title>
      <link>https://forums.autodesk.com/t5/net-forum/controlling-cad-layer-by-windows-form-application-c/m-p/6781478#M33291</link>
      <description>&lt;P&gt;yes I am using ActiveX control.&lt;/P&gt;&lt;P&gt;I am using this code to load my CAD file to C#.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;private void btnLoad_Click(object sender, EventArgs e)&lt;BR /&gt;{&lt;BR /&gt;if (System.IO.File.Exists(drawingPath.Text))&lt;/P&gt;&lt;P&gt;axAcCtrl1.PutSourcePath(drawingPath.Text);&lt;/P&gt;&lt;P&gt;else&lt;BR /&gt;MessageBox.Show("File does not exist");&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me....&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 08:02:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/controlling-cad-layer-by-windows-form-application-c/m-p/6781478#M33291</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-04T08:02:12Z</dc:date>
    </item>
    <item>
      <title>Re : Controlling CAD layer by windows form application C#</title>
      <link>https://forums.autodesk.com/t5/net-forum/controlling-cad-layer-by-windows-form-application-c/m-p/6781492#M33292</link>
      <description>&lt;P&gt;OK, just stop here. DWG TrueView ActiveX control is not supposed to be used like that. This is not supported and beyond opening and printing documents, you cannot have access to the model, so you cannot list the layers. You need to use &lt;A href="http://stackoverflow.com/a/300824/200443" target="_self"&gt;AutoCAD OEM or a third party library to display and interact with DWG&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 08:23:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/controlling-cad-layer-by-windows-form-application-c/m-p/6781492#M33292</guid>
      <dc:creator>FRFR1426</dc:creator>
      <dc:date>2017-01-04T08:23:59Z</dc:date>
    </item>
    <item>
      <title>Re : Controlling CAD layer by windows form application C#</title>
      <link>https://forums.autodesk.com/t5/net-forum/controlling-cad-layer-by-windows-form-application-c/m-p/6781505#M33293</link>
      <description>&lt;P&gt;upss... really? I am a novice &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you please give me some idea/link where I can get information to display and control CAD file by C#&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would be very helpful for me...&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 08:30:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/controlling-cad-layer-by-windows-form-application-c/m-p/6781505#M33293</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-04T08:30:46Z</dc:date>
    </item>
    <item>
      <title>Re : Controlling CAD layer by windows form application C#</title>
      <link>https://forums.autodesk.com/t5/net-forum/controlling-cad-layer-by-windows-form-application-c/m-p/6781520#M33294</link>
      <description>&lt;P&gt;There is a link in my answer to a StackOverflow question. Important thing to know&amp;nbsp;is that there is no gratis&amp;nbsp;solution for that.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 08:44:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/controlling-cad-layer-by-windows-form-application-c/m-p/6781520#M33294</guid>
      <dc:creator>FRFR1426</dc:creator>
      <dc:date>2017-01-04T08:44:45Z</dc:date>
    </item>
    <item>
      <title>Re : Controlling CAD layer by windows form application C#</title>
      <link>https://forums.autodesk.com/t5/net-forum/controlling-cad-layer-by-windows-form-application-c/m-p/6781534#M33295</link>
      <description>&lt;P&gt;So what do you suggest for getting my desire solution?&lt;/P&gt;&lt;P&gt;I want to build like &lt;A href="http://www.ivancad.com/" target="_self"&gt;this&lt;/A&gt;&amp;nbsp;one but comparatively less function and only for calculating area.&lt;/P&gt;&lt;P&gt;Can you please have a look on that?&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 08:52:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/controlling-cad-layer-by-windows-form-application-c/m-p/6781534#M33295</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-04T08:52:49Z</dc:date>
    </item>
    <item>
      <title>Re : Controlling CAD layer by windows form application C#</title>
      <link>https://forums.autodesk.com/t5/net-forum/controlling-cad-layer-by-windows-form-application-c/m-p/6782081#M33296</link>
      <description>&lt;P&gt;Considering that&amp;nbsp;being a "novice", your best bet would be that your target users are all have AutoCAD installed, and you do the area calculation inside AutoCAD (COM API/VBA or .NET API), which is quite easy after the graphic entities&amp;nbsp;being identified.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Without AutoCAD, the case would too complicated to plan/develop such an application before being very knowledgeable on all the technologies available/unavailable, IMO.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 14:22:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/controlling-cad-layer-by-windows-form-application-c/m-p/6782081#M33296</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2017-01-04T14:22:48Z</dc:date>
    </item>
    <item>
      <title>Re : Controlling CAD layer by windows form application C#</title>
      <link>https://forums.autodesk.com/t5/net-forum/controlling-cad-layer-by-windows-form-application-c/m-p/6783824#M33297</link>
      <description>&lt;P&gt;Thanks for your kind reply.&lt;/P&gt;&lt;P&gt;I can calculate area and select layers inside AutoCAD.&lt;/P&gt;&lt;P&gt;But I want to make a simpler and easier way to calculate area by Windows Application.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry to say I did not get your link helpful as it is related to labeling.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you suggest me which way would be easier for me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 02:03:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/controlling-cad-layer-by-windows-form-application-c/m-p/6783824#M33297</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-01-05T02:03:17Z</dc:date>
    </item>
    <item>
      <title>Re : Controlling CAD layer by windows form application C#</title>
      <link>https://forums.autodesk.com/t5/net-forum/controlling-cad-layer-by-windows-form-application-c/m-p/6784970#M33298</link>
      <description>&lt;P&gt;I did not give any link related to your issue at hand.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Making&amp;nbsp;things for you easier can only based on the technologies/knowledge/skills available to you. That is why I said using AutoCAD itself would be the best bet for you, considering the question you asked. If you really want to do things similar to the one referred in your link (an stand-alone window exe app without AutoCAD installation required), you would:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. license RealDwg SDK (a few thousands $US). This is easy part if you have the money.&lt;/P&gt;
&lt;P&gt;2. Find a way to generate a high quality drawing graphics out of DWG file without AutoCAD. Very difficult work for even a group of talented programmers, if it is possible/doable at all in a development case like yours. The best bet would be that you might be able to find/buy third part component for this, which could also be somewhat expensive.&lt;/P&gt;
&lt;P&gt;3. Learn how to program with RealDwg SDK to deal with DWG file to manipulate data in it.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, if you do it with AutoCAD, you only need to learn how to program AutoCAD (similar to step 3). After all, if you want to controll layer in Dwg file, wouldn't be very logical to use AutoCAD to do it, in most cases?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 14:52:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/controlling-cad-layer-by-windows-form-application-c/m-p/6784970#M33298</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2017-01-05T14:52:06Z</dc:date>
    </item>
  </channel>
</rss>

