Author Topic: .NET C# and Civil3d API  (Read 3776 times)

0 Members and 1 Guest are viewing this topic.

Offline cadplayer

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • prefered language: C
    • Prog expertise: Beginner
    • View Profile
.NET C# and Civil3d API
« on: November 09, 2012, 07:33:46 AM »
Hi !

Usually I use Vlide Application to develop Autocad functions, but here you can not much do with the .NET API. So I have learned the basics in C# and would beginning to program with the CivilAPI. Have anybody some suggestions how to come in languages. I toke a look in API references and is little bit to much for first time. Maybe somewhere it have good books to read them.

Thank

Regards Dirk

Offline cadplayer

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • prefered language: C
    • Prog expertise: Beginner
    • View Profile
Re: .NET C# and Civil3d API
« Reply #1 on: November 09, 2012, 10:30:41 AM »
My idea is to convert a Surface level label in a block with attributes. Have somebody an idea what I have to do ?

Offline fixo

  • Full Member
  • ***
  • Posts: 135
  • Karma: +4/-0
  • Gender: Male
    • prefered language: C
    • Prog expertise: Good
    • View Profile
Re: .NET C# and Civil3d API
« Reply #2 on: November 09, 2012, 05:35:36 PM »
You may to lok ath this bloq, there is many code examples in there
written by Isaac Rodriguez:
http://civilizeddevelopment.typepad.com/

Offline cadplayer

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • prefered language: C
    • Prog expertise: Beginner
    • View Profile
Re: .NET C# and Civil3d API
« Reply #3 on: November 10, 2012, 08:59:36 AM »
Hi fixo!

Nice to meet here in this forum again, it´s a great link - I can test more. The Civil API is well documentaded. I have to learn how to build C# expressions with Civil, I think it´s well for beginners, so thanks a lot.

Regard Dirk

Offline BlackBox

  • Newbie
  • *
  • Posts: 4
  • Karma: +1/-0
  • Gender: Male
    • prefered language: C
    • Prog expertise: Beginner
    • View Profile
Re: .NET C# and Civil3d API
« Reply #4 on: November 12, 2012, 02:16:03 AM »
Don't forget that Visual LISP has access to External (ActiveX COM) Objects, for which the Civil 3D API makes available.

Here is a thread to demonstrate:

http://www.theswamp.org/index.php?topic=42585.0

"Potential has a shelf life." - Margaret Atwood

Offline cadplayer

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • prefered language: C
    • Prog expertise: Beginner
    • View Profile
Re: .NET C# and Civil3d API
« Reply #5 on: November 12, 2012, 03:52:38 PM »
Yes but I´m trying to come in .NET programing. I´ve done many usefull things with Autolisp.
So I have install Visual Studio 2010 and Autocad ObjectARX wizard. No I would like start a Lisp code from C#. Anybody can help me ?

Offline BlackBox

  • Newbie
  • *
  • Posts: 4
  • Karma: +1/-0
  • Gender: Male
    • prefered language: C
    • Prog expertise: Beginner
    • View Profile
Re: .NET C# and Civil3d API
« Reply #6 on: November 12, 2012, 04:35:53 PM »
Yes but I´m trying to come in .NET programing. I´ve done many usefull things with Autolisp.
So I have install Visual Studio 2010 and Autocad ObjectARX wizard. No I would like start a Lisp code from C#. Anybody can help me ?

Start here:

Code: [Select]
C:\Program Files\<YourC3dInstallFolder>\Sample\Civil 3D API
"Potential has a shelf life." - Margaret Atwood

Offline cadplayer

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • prefered language: C
    • Prog expertise: Beginner
    • View Profile
Re: .NET C# and Civil3d API
« Reply #7 on: November 14, 2012, 07:33:19 AM »
Thanks Rendermen, I find not much information in it, do you know some  books what I can read ?