<?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: How to use the Sample API provided in Civil 3D in Civil 3D Customization Forum</title>
    <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/6269017#M19314</link>
    <description>&lt;P&gt;Thanks Jeff. I just started VS 2015. Hopefully i won't be back to ask more questions, but don't count on it!&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Apr 2016 17:42:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-04-13T17:42:28Z</dc:date>
    <item>
      <title>How to use the Sample API provided in Civil 3D</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/3675994#M19304</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is going to seem a very simple question I believe, but I was wondering how I could use on of the sample Civil 3D API that is provided?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In particular, I would like to use the ExporttoExcel Sample API provided at the following location during the install:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;C:\Program Files\Autodesk\AutoCAD Civil 3D 2013\Sample\Civil 3D API\DotNet\CSharp\PipeDataExcel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not a programmer and can not just load this sample as it is a .cs file.&amp;nbsp; How would&amp;nbsp;I go about using the code already provided to create a plugin into my AutoCAD to be able to use this command?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you to anyone who responds to this.&lt;/P&gt;&lt;P&gt;Ed&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Oct 2012 21:17:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/3675994#M19304</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-26T21:17:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the Sample API provided in Civil 3D</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/3677692#M19305</link>
      <description>&lt;P&gt;I'm just bumping this up to the top to see if there is anyone out there that can help me. &amp;nbsp;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2012 15:32:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/3677692#M19305</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-29T15:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the Sample API provided in Civil 3D</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/3678466#M19306</link>
      <description>&lt;P&gt;Try these -&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The .NET GETTING STARTED topic over at the swamp &lt;A href="http://www.theswamp.org/index.php?board=27.0" target="_blank"&gt;http://www.theswamp.org/index.php?board=27.0&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and Kean's getting started blog post here&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://through-the-interface.typepad.com/through_the_interface/2006/07/getting_started.html" target="_blank"&gt;http://through-the-interface.typepad.com/through_the_interface/2006/07/getting_started.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2012 03:00:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/3678466#M19306</guid>
      <dc:creator>andrewpuller3811</dc:creator>
      <dc:date>2012-10-30T03:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the Sample API provided in Civil 3D</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/3678514#M19307</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;The "ReadMe" file has all the instructions -&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;C:\Program Files\Autodesk\AutoCAD Civil 3D 2013\Sample\Civil 3D API\DotNet\CSharp\PipeDataExcel&lt;/P&gt;
&lt;P&gt;-&lt;/P&gt;
&lt;P&gt;----------------------------------------------&lt;BR /&gt;This samples illustrates how to work with pipe networks and move data to and from MS Excel using COM interop.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It defines two commands:&lt;BR /&gt;&lt;STRONG&gt;ExportToExcel&lt;/STRONG&gt; - exports pipe data to excel&lt;BR /&gt;&lt;STRONG&gt;ImportFromExcel&lt;/STRONG&gt; - imports the same pipe data from excel, updating the pipe network&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Building the sample: This project requires two Microsoft Office interop libraries (Microsoft Office 12.0 Object Library, and Excel 12.0 Object Library) installed with Excel, as well as AecBaseMgd, AecDBMgd, AcMgd, and AeccDbMgd.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using the sample: Open a drawing with at least one pipe network and run the ExportToExcel command.&amp;nbsp; &lt;BR /&gt;This exports information about the pipe network pipes and structures to an Excel document.&amp;nbsp; &lt;BR /&gt;Change values as required in the spreadsheet, then run the ImportFromExcel command to apply the &lt;BR /&gt;changed values to the open document.&lt;BR /&gt;---------------------------------------------------------&lt;/P&gt;
&lt;P&gt;You could use VS2010 or Express to build the .NET application using the source code provided in the example. Then use NETLOAD command to load the DLL you built and invoke the custom command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Let me know if you need any further help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2012 04:30:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/3678514#M19307</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-30T04:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the Sample API provided in Civil 3D</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/6268518#M19308</link>
      <description>&lt;P&gt;I'm having trouble locating AecDBMgd. Was it included in a C3D 2016 install? Note, that we had to REM the C++ lines from setup.ini to get it to install.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THANKS&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 15:01:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/6268518#M19308</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-13T15:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the Sample API provided in Civil 3D</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/6268572#M19309</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;I'm having trouble locating AecDBMgd. Was it included in a C3D 2016 install?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;AeccDbMgd.dll is in the Program Files\&lt;SPAN&gt;Autodesk&lt;/SPAN&gt;\AutoCAD 2016\C3D folder&lt;/P&gt;
&lt;P&gt;AecBaseMgd.dll is in the &lt;SPAN&gt;Program Files\Autodesk\&lt;/SPAN&gt;AutoCAD 2016\AEC folder&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 15:14:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/6268572#M19309</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2016-04-13T15:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the Sample API provided in Civil 3D</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/6268587#M19310</link>
      <description>&lt;P&gt;thanks. I assume that the readme.txt file is incorrect and mispelled the name of AeccDbMgd.dll .&amp;nbsp; I suppose i will find out when i get it to run.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 15:17:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/6268587#M19310</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-13T15:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the Sample API provided in Civil 3D</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/6268894#M19311</link>
      <description>&lt;P&gt;Which readme.txt are you seeing this in?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW, I mis-typed the folder for the AecBaseMgd file...it is in the ACA folder, not AEC&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 16:59:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/6268894#M19311</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2016-04-13T16:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the Sample API provided in Civil 3D</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/6268930#M19312</link>
      <description>&lt;P&gt;C:\Program Files\Autodesk\AutoCAD 2016\C3D\Sample\Civil 3D API\DotNet\CSharp\PipeDataExcel\readme.txt&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;it says "... as well as AecBaseMgd, &lt;EM&gt;&lt;STRONG&gt;AecDBMgd&lt;/STRONG&gt;&lt;/EM&gt;, AcMgd, and AeccDbMgd."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;only one "c."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm still plodding away at this. I don't know how to run a .cs. I read that I have to compile into a .NET using Visual Studio. I'm doing a few things at once, so haven't had a chance to try that yet.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 17:07:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/6268930#M19312</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-13T17:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the Sample API provided in Civil 3D</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/6268984#M19313</link>
      <description>Ah, ok, yes, that is a typo..it should be AcDbMgd&lt;BR /&gt;&lt;BR /&gt;And, yes, you need to use a .NET compiler. The easiest I've found is the Visual Studio 2013 (or 2015) Community Edition. It's free to use as long as you are developing for an Enterprise solution. Load the project into that and it should automatically find the correct Autodesk based references, but you will to point it to the correct location for Excel</description>
      <pubDate>Wed, 13 Apr 2016 17:29:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/6268984#M19313</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2016-04-13T17:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the Sample API provided in Civil 3D</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/6269017#M19314</link>
      <description>&lt;P&gt;Thanks Jeff. I just started VS 2015. Hopefully i won't be back to ask more questions, but don't count on it!&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 17:42:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/6269017#M19314</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-13T17:42:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the Sample API provided in Civil 3D</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/6269250#M19315</link>
      <description>&lt;P&gt;OK, this is not going well. to be expected from someone who has never used VS i suppose. but when i try to run or debug the code it returns several erros. I think that it becaquse it is intended to be run from *within* acad.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;my question now is: is there an AUTODESK guide on how to use their sample code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 13 Apr 2016 19:18:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/6269250#M19315</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-04-13T19:18:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the Sample API provided in Civil 3D</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/6269515#M19316</link>
      <description>Yes, these samples are meant for use in C3D. If you want to see an example for an externally run program, which must use the COM API, look under the COM folder in the Samples.&lt;BR /&gt;&lt;BR /&gt;The tutorials at ADN are good for getting you started with the Autocad environment. &lt;A href="http://usa.autodesk.com/adsk/servlet/index?id=1911627&amp;amp;siteID=123112" target="_blank"&gt;http://usa.autodesk.com/adsk/servlet/index?id=1911627&amp;amp;siteID=123112&lt;/A&gt; Check out the MyFirst AutoCAD Plug-in guide video, as well as the self paced .NET Labs on that page</description>
      <pubDate>Wed, 13 Apr 2016 21:16:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/how-to-use-the-sample-api-provided-in-civil-3d/m-p/6269515#M19316</guid>
      <dc:creator>Jeff_M</dc:creator>
      <dc:date>2016-04-13T21:16:17Z</dc:date>
    </item>
  </channel>
</rss>

