<?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: Sample Code for Civil Cogo Points in Civil 3D Customization Forum</title>
    <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724809#M26072</link>
    <description>Laurie,&lt;BR /&gt;
I looked at the VB.net code sample today, and it is surprising alot like the C# code.  The structures are so similar, just the variable casting is C++ style.&lt;BR /&gt;
If I had knowledge of VB, I'd stay too, but I don't, and I like C coding.  The choice to go to C# is simply to move forward (for AutoCAD's sake), and stay within the Language preference.  &lt;BR /&gt;
I suspect one could do more in AutoCAD using VB.net than a person in C#.net</description>
    <pubDate>Tue, 08 Aug 2006 20:35:37 GMT</pubDate>
    <dc:creator>Punisher</dc:creator>
    <dc:date>2006-08-08T20:35:37Z</dc:date>
    <item>
      <title>Sample Code for Civil Cogo Points</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724800#M26063</link>
      <description>Can anyone assist me with some source code (C#) samples for accessing Cogo point groups and point information?&lt;BR /&gt;
Please include the references needed.&lt;BR /&gt;
&lt;BR /&gt;
I have been searching for information for a while, but cannot locate anything.&lt;BR /&gt;
&lt;BR /&gt;
Thank you &lt;BR /&gt;
John Evans</description>
      <pubDate>Wed, 02 Aug 2006 23:12:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724800#M26063</guid>
      <dc:creator>Punisher</dc:creator>
      <dc:date>2006-08-02T23:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for Civil Cogo Points</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724801#M26064</link>
      <description>Hi John,&lt;BR /&gt;
&lt;BR /&gt;
The starting place for all VBA code for Civil 3D is in the&lt;BR /&gt;
&lt;BR /&gt;
C:\Program Files\Autodesk Civil 3D 2007\Sample\Civil 3D API\Vba\&lt;BR /&gt;
&lt;BR /&gt;
directories.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
&lt;BR /&gt;
Laurie Comerford&lt;BR /&gt;
CADApps&lt;BR /&gt;
www.cadapps.com.au&lt;BR /&gt;
&lt;BR /&gt;
&lt;PUNISHER&gt; wrote in message news:5257171@discussion.autodesk.com...&lt;BR /&gt;
Can anyone assist me with some source code (C#) samples for accessing Cogo &lt;BR /&gt;
point groups and point information?&lt;BR /&gt;
Please include the references needed.&lt;BR /&gt;
&lt;BR /&gt;
I have been searching for information for a while, but cannot locate &lt;BR /&gt;
anything.&lt;BR /&gt;
&lt;BR /&gt;
Thank you&lt;BR /&gt;
John Evans&lt;/PUNISHER&gt;</description>
      <pubDate>Thu, 03 Aug 2006 12:34:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724801#M26064</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-08-03T12:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for Civil Cogo Points</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724802#M26065</link>
      <description>Hi Laurie,&lt;BR /&gt;
While this is correct, it doesn't quite answer John's request for sample &lt;BR /&gt;
code in C#. The only sample provided for C# is how to connect to the Civil3D &lt;BR /&gt;
environ.....&lt;BR /&gt;
&lt;BR /&gt;
Jeff&lt;BR /&gt;
&lt;BR /&gt;
"Laurie Comerford" &lt;LAURIE.COMERFORD&gt; wrote in message &lt;BR /&gt;
news:5257507@discussion.autodesk.com...&lt;BR /&gt;
Hi John,&lt;BR /&gt;
&lt;BR /&gt;
The starting place for all VBA code for Civil 3D is in the&lt;BR /&gt;
&lt;BR /&gt;
C:\Program Files\Autodesk Civil 3D 2007\Sample\Civil 3D API\Vba\&lt;BR /&gt;
&lt;BR /&gt;
directories.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
&lt;BR /&gt;
Laurie Comerford&lt;BR /&gt;
CADApps&lt;BR /&gt;
www.cadapps.com.au&lt;BR /&gt;
&lt;BR /&gt;
&lt;PUNISHER&gt; wrote in message news:5257171@discussion.autodesk.com...&lt;BR /&gt;
Can anyone assist me with some source code (C#) samples for accessing Cogo&lt;BR /&gt;
point groups and point information?&lt;BR /&gt;
Please include the references needed.&lt;BR /&gt;
&lt;BR /&gt;
I have been searching for information for a while, but cannot locate&lt;BR /&gt;
anything.&lt;BR /&gt;
&lt;BR /&gt;
Thank you&lt;BR /&gt;
John Evans&lt;/PUNISHER&gt;&lt;/LAURIE.COMERFORD&gt;</description>
      <pubDate>Thu, 03 Aug 2006 16:22:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724802#M26065</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-08-03T16:22:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for Civil Cogo Points</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724803#M26066</link>
      <description>Laurie and Jeff,&lt;BR /&gt;
Thanks for the input.  I reviewed the code Laurie mentioned, and then pryed my way in until I could extract and modify the data in the AECC_COGO_POINTS.&lt;BR /&gt;
&lt;BR /&gt;
In the event someone finds a good reference specifically for C# and Civil3d, please post it here or email 1punisher@cox.net&lt;BR /&gt;
&lt;BR /&gt;
thanks,&lt;BR /&gt;
John</description>
      <pubDate>Fri, 04 Aug 2006 19:05:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724803#M26066</guid>
      <dc:creator>Punisher</dc:creator>
      <dc:date>2006-08-04T19:05:28Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for Civil Cogo Points</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724804#M26067</link>
      <description>Hi John,&lt;BR /&gt;
Were you able to do this in C# or in VBA? I ask because once I saw this post &lt;BR /&gt;
I started examining what it would take to do this in C#  I have something &lt;BR /&gt;
now that accesses the points in a point group, but have not yet tried to &lt;BR /&gt;
edit the points.&lt;BR /&gt;
&lt;BR /&gt;
Jeff&lt;BR /&gt;
&lt;BR /&gt;
&lt;PUNISHER&gt; wrote in message news:5259560@discussion.autodesk.com...&lt;BR /&gt;
Laurie and Jeff,&lt;BR /&gt;
Thanks for the input.  I reviewed the code Laurie mentioned, and then pryed &lt;BR /&gt;
my way in until I could extract and modify the data in the AECC_COGO_POINTS.&lt;BR /&gt;
&lt;BR /&gt;
In the event someone finds a good reference specifically for C# and Civil3d, &lt;BR /&gt;
please post it here or email 1punisher@cox.net&lt;BR /&gt;
&lt;BR /&gt;
thanks,&lt;BR /&gt;
John&lt;/PUNISHER&gt;</description>
      <pubDate>Fri, 04 Aug 2006 19:13:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724804#M26067</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-08-04T19:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for Civil Cogo Points</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724805#M26068</link>
      <description>In C#.&lt;BR /&gt;
I am a C++ and lisp coder, but wanted to make the jump with .net for the future.&lt;BR /&gt;
&lt;BR /&gt;
I get the point list by AECC database, or Point group.&lt;BR /&gt;
I access and modify the data straight from the AECC database.&lt;BR /&gt;
&lt;BR /&gt;
Thats as far as I have gotten.  I am real weak in C#, but am learning quickly.&lt;BR /&gt;
Any help you can offer is greatly welcomed.&lt;BR /&gt;
&lt;BR /&gt;
John</description>
      <pubDate>Fri, 04 Aug 2006 19:56:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724805#M26068</guid>
      <dc:creator>Punisher</dc:creator>
      <dc:date>2006-08-04T19:56:16Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for Civil Cogo Points</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724806#M26069</link>
      <description>I would have to ditto what you said. I come from a strong lisp and a pretty &lt;BR /&gt;
good VBA background. I've tinkered with C# but have been slowly trying to &lt;BR /&gt;
move more to it. It helps to have people ask questions that make me want to &lt;BR /&gt;
try it myself, as did your first post in this thread.&lt;BR /&gt;
&lt;BR /&gt;
I think you will probably have a head start on me, having the C++ &lt;BR /&gt;
background. C# seems to be more similar to C++ than to VB/A&lt;BR /&gt;
&lt;BR /&gt;
Good luck!&lt;BR /&gt;
Jeff&lt;BR /&gt;
&lt;BR /&gt;
&lt;PUNISHER&gt; wrote in message news:5259645@discussion.autodesk.com...&lt;BR /&gt;
&lt;SNIP&gt;&lt;BR /&gt;
I am real weak in C#, but am learning quickly.&lt;BR /&gt;
Any help you can offer is greatly welcomed.&lt;BR /&gt;
&lt;BR /&gt;
John&lt;/SNIP&gt;&lt;/PUNISHER&gt;</description>
      <pubDate>Fri, 04 Aug 2006 20:07:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724806#M26069</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-08-04T20:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for Civil Cogo Points</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724807#M26070</link>
      <description>C# is like taking C++ and mixing it with VB.  THe casts are easier and less painful.  Some of the new Object classes are nice as well.  &lt;BR /&gt;
&lt;BR /&gt;
I have been learning by pounding in C++ style calls until my compiler balks, and then researching the errors.  That and the Autodesk COM tutorials.</description>
      <pubDate>Fri, 04 Aug 2006 20:29:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724807#M26070</guid>
      <dc:creator>Punisher</dc:creator>
      <dc:date>2006-08-04T20:29:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for Civil Cogo Points</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724808#M26071</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
I have no intentions of moving to C#.  In the shorter term I'm staying with &lt;BR /&gt;
VBA, because of background knowledge, experience and I have yet to run into &lt;BR /&gt;
anything I need to do which I can't do with VBA.&lt;BR /&gt;
&lt;BR /&gt;
When the Help system for .NET in AutoCAD becomes adequate, I might move, or &lt;BR /&gt;
then again I might retire.&lt;BR /&gt;
&lt;BR /&gt;
"Programming Microsoft Visual Basic .Net" by Francesco Balena and published &lt;BR /&gt;
by Microsoft implies that the decision to use .NET in VB format or C# format &lt;BR /&gt;
is dependent on the task at hand and each has minor differences in &lt;BR /&gt;
capability, but for most practical purposes they are equal.&lt;BR /&gt;
&lt;BR /&gt;
Speed between the two is also dependent on the task at hand and there is no &lt;BR /&gt;
point arguing to use one or the other on general speed grounds.&lt;BR /&gt;
&lt;BR /&gt;
-- &lt;BR /&gt;
&lt;BR /&gt;
Laurie Comerford&lt;BR /&gt;
CADApps&lt;BR /&gt;
www.cadapps.com.au&lt;BR /&gt;
&lt;BR /&gt;
&lt;PUNISHER&gt; wrote in message news:5259677@discussion.autodesk.com...&lt;BR /&gt;
C# is like taking C++ and mixing it with VB.  THe casts are easier and less &lt;BR /&gt;
painful.  Some of the new Object classes are nice as well.&lt;BR /&gt;
&lt;BR /&gt;
I have been learning by pounding in C++ style calls until my compiler balks, &lt;BR /&gt;
and then researching the errors.  That and the Autodesk COM tutorials.&lt;/PUNISHER&gt;</description>
      <pubDate>Fri, 04 Aug 2006 23:08:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724808#M26071</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-08-04T23:08:42Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for Civil Cogo Points</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724809#M26072</link>
      <description>Laurie,&lt;BR /&gt;
I looked at the VB.net code sample today, and it is surprising alot like the C# code.  The structures are so similar, just the variable casting is C++ style.&lt;BR /&gt;
If I had knowledge of VB, I'd stay too, but I don't, and I like C coding.  The choice to go to C# is simply to move forward (for AutoCAD's sake), and stay within the Language preference.  &lt;BR /&gt;
I suspect one could do more in AutoCAD using VB.net than a person in C#.net</description>
      <pubDate>Tue, 08 Aug 2006 20:35:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724809#M26072</guid>
      <dc:creator>Punisher</dc:creator>
      <dc:date>2006-08-08T20:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for Civil Cogo Points</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724810#M26073</link>
      <description>Language when doing .NET development has no bearing on the features you can &lt;BR /&gt;
work with.  Someone using C# can do the same as someone using vb.NET.&lt;BR /&gt;
Nick&lt;BR /&gt;
&lt;PUNISHER&gt; wrote in message news:5262566@discussion.autodesk.com...&lt;BR /&gt;
Laurie,&lt;BR /&gt;
I looked at the VB.net code sample today, and it is surprising alot like the &lt;BR /&gt;
C# code.  The structures are so similar, just the variable casting is C++ &lt;BR /&gt;
style.&lt;BR /&gt;
If I had knowledge of VB, I'd stay too, but I don't, and I like C coding. &lt;BR /&gt;
The choice to go to C# is simply to move forward (for AutoCAD's sake), and &lt;BR /&gt;
stay within the Language preference.&lt;BR /&gt;
I suspect one could do more in AutoCAD using VB.net than a person in C#.net&lt;/PUNISHER&gt;</description>
      <pubDate>Tue, 08 Aug 2006 21:01:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724810#M26073</guid>
      <dc:creator>nzeeben</dc:creator>
      <dc:date>2006-08-08T21:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for Civil Cogo Points</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724811#M26074</link>
      <description>Nick,&lt;BR /&gt;
You got any Civil 3d Code clips?</description>
      <pubDate>Tue, 08 Aug 2006 22:58:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724811#M26074</guid>
      <dc:creator>Punisher</dc:creator>
      <dc:date>2006-08-08T22:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for Civil Cogo Points</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724812#M26075</link>
      <description>I am making the push to C# myself right now.  Just worrying about c# havent &lt;BR /&gt;
gone to c3d with it yet.  Everything else is VBA.&lt;BR /&gt;
Nick&lt;BR /&gt;
&lt;PUNISHER&gt; wrote in message news:5262716@discussion.autodesk.com...&lt;BR /&gt;
Nick,&lt;BR /&gt;
You got any Civil 3d Code clips?&lt;/PUNISHER&gt;</description>
      <pubDate>Tue, 08 Aug 2006 23:00:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724812#M26075</guid>
      <dc:creator>nzeeben</dc:creator>
      <dc:date>2006-08-08T23:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for Civil Cogo Points</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724813#M26076</link>
      <description>Laurie,&lt;BR /&gt;
&lt;BR /&gt;
You should try out vb.net, it's really similar to VBA, except you have more tools and can make stand alone apps.&lt;BR /&gt;
&lt;BR /&gt;
I have taken several vba routines and ported them over to vb.net without much work.&lt;BR /&gt;
&lt;BR /&gt;
Check out the AU2005 class handouts on .net and you'll see some samples of what can be done with .net&lt;BR /&gt;
&lt;BR /&gt;
good luck&lt;BR /&gt;
&lt;BR /&gt;
take care</description>
      <pubDate>Thu, 10 Aug 2006 03:21:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724813#M26076</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-08-10T03:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for Civil Cogo Points</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724814#M26077</link>
      <description>Punisher,&lt;BR /&gt;
&lt;BR /&gt;
You may want to dig up some vb.net samples for C3D, then google vb.net to c#.net conversion.  You can find a few web sites that will translate code between vb.net and c#.net.&lt;BR /&gt;
&lt;BR /&gt;
I started out on VB and will probably stick with vb.net since there really isn't any advantage to working in C# because .net is a level playing field for languages.&lt;BR /&gt;
&lt;BR /&gt;
Of course I love a challenge so I'm sure I'll dive into c# eventually.&lt;BR /&gt;
&lt;BR /&gt;
take care</description>
      <pubDate>Thu, 10 Aug 2006 03:23:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724814#M26077</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-08-10T03:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for Civil Cogo Points</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724815#M26078</link>
      <description>Check out the autodesk blog entry:&lt;BR /&gt;
&lt;BR /&gt;
Developing Autodesk Civil 3D applications with .NET&lt;BR /&gt;
&lt;BR /&gt;
http://through-the-interface.typepad.com/</description>
      <pubDate>Thu, 10 Aug 2006 13:59:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724815#M26078</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-08-10T13:59:54Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for Civil Cogo Points</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724816#M26079</link>
      <description>I have the beta for the first run of a cogo compare program. It populates a pair of list views with point data from ascii files, ldt database, or Civil3d 2007 open dwg, and rips out the differences.&lt;BR /&gt;
Next version will post differences with an option to go direct into any of the latter 2 origins.</description>
      <pubDate>Fri, 18 Aug 2006 14:26:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724816#M26079</guid>
      <dc:creator>Punisher</dc:creator>
      <dc:date>2006-08-18T14:26:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sample Code for Civil Cogo Points</title>
      <link>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724817#M26080</link>
      <description>I am just learning the c# method of trying to solve some of the same problems.  Did you ever post the code mentioned below?&lt;BR /&gt;
&lt;BR /&gt;
I am going to attend the AU event in vegas.  Any suggestions on who to see based on your experience with the discussion groups?&lt;BR /&gt;
&lt;BR /&gt;
john</description>
      <pubDate>Mon, 30 Oct 2006 23:08:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/civil-3d-customization-forum/sample-code-for-civil-cogo-points/m-p/1724817#M26080</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2006-10-30T23:08:08Z</dc:date>
    </item>
  </channel>
</rss>

