<?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: Difference While Doing Customization With DataBase &amp;amp; Without DataBase Se in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/difference-while-doing-customization-with-database-amp-without/m-p/4355997#M48358</link>
    <description>&lt;P&gt;The difference you see as to inserting block is NOT the difference of VB.NET and C#. It is the difference of API you use for AutoCAD customizing programming. Namely, you&amp;nbsp; thought what is simple to do in VB.ENT for inserting, is because that statement uses COM API, which you can also write the same one line code with C#.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Considering you rprevious post, it looks like you are just starting to use .NET language to programming AutoCAD. You have 2 options of what API you are to work against: COM API or .NET API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have previous AutoCAD VBA programming experience, and you may find some article on the net claimiing moving from AutoCAD VBA to YB.NET is easy and you follow that lead, then, IMO, you are misled, to say the least.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are&amp;nbsp;better off to forget all the VBA stuff and start learning use AutoCAD .NET API, since you choose to use .NET language (VB.NET or C#, not much difference, as the reply to your previous post commeted). You only look back to COM API (as you did in VBA) to see its possible useness in the .NET world AFTER you get the idea of what AutoCAD .NET APIs are and hwo to use them/program with them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Aug 2013 18:49:14 GMT</pubDate>
    <dc:creator>norman.yuan</dc:creator>
    <dc:date>2013-08-06T18:49:14Z</dc:date>
    <item>
      <title>Difference While Doing Customization With DataBase &amp; Without DataBase Services</title>
      <link>https://forums.autodesk.com/t5/net-forum/difference-while-doing-customization-with-database-amp-without/m-p/4355904#M48356</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working on the AutoCAD customization and doing the same by VB.Net &amp;amp; C#.Net. But I just want to know the difference as mentioned below:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;1. Insert Block In AutoCAD&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;Using VB.Net without using DataBase services&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Only 1 statement is required to Insert the Block&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;objAcadDocument.ModelSpace.InsertBlock(Required Arguments are here)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;Using C#.Net with DataBase services&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are many statments are there to insert only 1 block&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Like Start Transaction, Lock the document, Get the Object Id Block etc....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;So my quetion is that when I have to use DataBase services and when not&amp;nbsp; &lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;U&gt;&lt;EM&gt;&lt;STRONG&gt;what is the advantage of doing customization using DataBase services rather than go for wihout DataBase services.?&lt;/STRONG&gt;&lt;/EM&gt;&lt;/U&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2013 17:48:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/difference-while-doing-customization-with-database-amp-without/m-p/4355904#M48356</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-06T17:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: Difference While Doing Customization With DataBase &amp; Without DataBase Se</title>
      <link>https://forums.autodesk.com/t5/net-forum/difference-while-doing-customization-with-database-amp-without/m-p/4355993#M48357</link>
      <description>&lt;P&gt;You are mixing .NET API and ActiveX (com)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;with the .NET API&lt;/P&gt;&lt;P&gt;You would need a transaction requardless of which language you are using&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2013 18:47:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/difference-while-doing-customization-with-database-amp-without/m-p/4355993#M48357</guid>
      <dc:creator>arcticad</dc:creator>
      <dc:date>2013-08-06T18:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: Difference While Doing Customization With DataBase &amp; Without DataBase Se</title>
      <link>https://forums.autodesk.com/t5/net-forum/difference-while-doing-customization-with-database-amp-without/m-p/4355997#M48358</link>
      <description>&lt;P&gt;The difference you see as to inserting block is NOT the difference of VB.NET and C#. It is the difference of API you use for AutoCAD customizing programming. Namely, you&amp;nbsp; thought what is simple to do in VB.ENT for inserting, is because that statement uses COM API, which you can also write the same one line code with C#.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Considering you rprevious post, it looks like you are just starting to use .NET language to programming AutoCAD. You have 2 options of what API you are to work against: COM API or .NET API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have previous AutoCAD VBA programming experience, and you may find some article on the net claimiing moving from AutoCAD VBA to YB.NET is easy and you follow that lead, then, IMO, you are misled, to say the least.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You are&amp;nbsp;better off to forget all the VBA stuff and start learning use AutoCAD .NET API, since you choose to use .NET language (VB.NET or C#, not much difference, as the reply to your previous post commeted). You only look back to COM API (as you did in VBA) to see its possible useness in the .NET world AFTER you get the idea of what AutoCAD .NET APIs are and hwo to use them/program with them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2013 18:49:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/difference-while-doing-customization-with-database-amp-without/m-p/4355997#M48358</guid>
      <dc:creator>norman.yuan</dc:creator>
      <dc:date>2013-08-06T18:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Difference While Doing Customization With DataBase &amp; Without DataBase Se</title>
      <link>https://forums.autodesk.com/t5/net-forum/difference-while-doing-customization-with-database-amp-without/m-p/4356362#M48359</link>
      <description>Thanks for the reply..&lt;BR /&gt;&lt;BR /&gt;so again I have 1 question that when I have to go for COM API &amp;amp; when .NET API.&lt;BR /&gt;&lt;BR /&gt;Is there any extra features are provided in .NET API compare to COM API?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 07 Aug 2013 05:11:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/difference-while-doing-customization-with-database-amp-without/m-p/4356362#M48359</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-07T05:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Difference While Doing Customization With DataBase &amp; Without DataBase Se</title>
      <link>https://forums.autodesk.com/t5/net-forum/difference-while-doing-customization-with-database-amp-without/m-p/4356407#M48360</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just my thought.&lt;/P&gt;&lt;P&gt;As far as you can, avoid using the COM API which is platform dependent. The main case you'd have to use the COM API is building standalone applications.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There're much more features provided with the .NET API than with the COM one.&lt;/P&gt;&lt;P&gt;You can compare &lt;A href="http://www.google.fr/url?sa=t&amp;amp;rct=j&amp;amp;q=classmap.dwg&amp;amp;source=web&amp;amp;cd=3&amp;amp;ved=0CEkQFjAC&amp;amp;url=http%3A%2F%2Fimages.autodesk.com%2Fadsk%2Ffiles%2Fobjectarx_2010_managed_classes.dwf&amp;amp;ei=MecBUrDcPKWA0AWgx4GIBw&amp;amp;usg=AFQjCNGbUtB7_Inu3myBtiSlbb5E7v1_dw&amp;amp;bvm=bv.50310824,d.d2k&amp;amp;cad=rja" target="_blank"&gt;the managed classes classmap&lt;/A&gt; (.NET) with the &lt;A href="http://docs.autodesk.com/ACD/2013/ENU/index.html?url=files/GUID-FC6FC3E3-ED3E-4E4D-9766-8E4D037241A5.htm,topicNumber=d30e569095" target="_blank"&gt;AutoCAD object Model&lt;/A&gt; (COM).&lt;/P&gt;&lt;P&gt;IMO, one of the main examples for a CAD software customization, is that .NET provides Point2d, Point3d, Vector2d and Vector3d objects with their own methods and properties when COM just uses arrays of doubles.&lt;/P&gt;</description>
      <pubDate>Wed, 07 Aug 2013 06:43:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/difference-while-doing-customization-with-database-amp-without/m-p/4356407#M48360</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2013-08-07T06:43:07Z</dc:date>
    </item>
  </channel>
</rss>

