Author Topic: AutoCAD - First Plug-in Training  (Read 8206 times)

0 Members and 1 Guest are viewing this topic.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 10819
  • class keyThumper<T>:ILazy<T>
AutoCAD - First Plug-in Training
« on: December 20, 2011, 08:44:35 pm »

Just noticed this ..
not sure how long it's been available, and haven't had a good look at it yet.

http://usa.autodesk.com/adsk/servlet/index?id=18162650&siteID=123112

Regards
kdub
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

--> Donate<--

MP

  • Seagull
  • Posts: 16271
  • Warning: I may be trolling.
Re: AutoCAD - First Plug-in Training
« Reply #1 on: December 20, 2011, 09:05:05 pm »
Thanks Kerry, should prove useful for a lot of folks.
\|// Set goal. Experiment tirelessly until
|oo| practice has become expertise.  Loop.
|- | Dropbox | O'Reilly School | UltraEdit

alanjt

  • Needs a day job
  • Posts: 4992
  • Standby for witty remark...
Re: AutoCAD - First Plug-in Training
« Reply #2 on: December 20, 2011, 09:53:36 pm »
Very nice. Thanks for sharing Kerry.
Civil 3D 2013 ~ Windohz 7 64bit
Dropbox

BlackBox

  • Gator
  • Posts: 3006
Re: AutoCAD - First Plug-in Training
« Reply #3 on: December 20, 2011, 10:27:23 pm »
Yes, thanks for sharing this Kerry.

Cheers! :beer:
"Potential has a shelf life." - Margaret Atwood

SGP2012

  • Newt
  • Posts: 37
Re: AutoCAD - First Plug-in Training
« Reply #4 on: December 20, 2011, 11:06:53 pm »
You found it then. Its only been up for a week or so. I was going to announce it here when it was complete.

Its in Beta right now - the accompanying videos will be ready soon. Feel free to email comments to myfirstplugin@autodesk.com (or discuss it here, of course :-)). All feedback gratefully received - good or bad.

BTW For anyone interested in Revit or Inventor programming, this follows on from the My First Plug-in tutorials for those products. You can find links at www.autodesk.com/developrevit and www.autodesk.com/developinventor.
Stephen Preston
Autodesk Developer Network

Jeff H

  • Needs a day job
  • Posts: 4704
Re: AutoCAD - First Plug-in Training
« Reply #5 on: December 20, 2011, 11:16:21 pm »
Good stuff!!
 
Thanks a ton Stephen!!!
 

MP

  • Seagull
  • Posts: 16271
  • Warning: I may be trolling.
Re: AutoCAD - First Plug-in Training
« Reply #6 on: December 20, 2011, 11:17:11 pm »
Thanks Stephen, quite awesome, and on a number of levels.
\|// Set goal. Experiment tirelessly until
|oo| practice has become expertise.  Loop.
|- | Dropbox | O'Reilly School | UltraEdit

BlackBox

  • Gator
  • Posts: 3006
Re: AutoCAD - First Plug-in Training
« Reply #7 on: December 20, 2011, 11:30:48 pm »
Can't wait to dig through the .NET tutorial(s) Stephen; many thanks!
« Last Edit: December 21, 2011, 06:19:08 am by RenderMan »
"Potential has a shelf life." - Margaret Atwood

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 10819
  • class keyThumper<T>:ILazy<T>
Re: AutoCAD - First Plug-in Training
« Reply #8 on: December 21, 2011, 03:49:26 am »

Looks like the samples and tutorials favour VB.Net ...

Stephen,
when the bugs are ironed out can the samples be provided in C# as well as vb to save beginning C# customisers having to translate the code.

If necessary I (or  someone here) can convert the code for members here,  but I believe including the source with your downloads would be better.

Thanks for the iniative.

Regards
kdub.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

--> Donate<--

SGP2012

  • Newt
  • Posts: 37
Re: AutoCAD - First Plug-in Training
« Reply #9 on: December 21, 2011, 08:49:29 pm »
Sigh! You C# guys and your semi-colon addictions  8-).

C# versions of the projects will be added eventually (after I've received enough feedback to be confident I don't have to edit too much of the VB.NET code), but I may not create a C# version of the webpages. I continue to hold the opinion that VB.NET is more suited to someone learning programming for the first time by working through tutorials like this - the code is that much more readable for mere mortals.
Stephen Preston
Autodesk Developer Network

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 10819
  • class keyThumper<T>:ILazy<T>
Re: AutoCAD - First Plug-in Training
« Reply #10 on: December 21, 2011, 09:02:25 pm »
:)

Sorry, I forgot it was aimed at mortals.   :lmao:

I thought I noticed C# code in either the Inventor or Revit section. 

Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

--> Donate<--

MP

  • Seagull
  • Posts: 16271
  • Warning: I may be trolling.
Re: AutoCAD - First Plug-in Training
« Reply #11 on: December 21, 2011, 09:46:26 pm »
Bring on the VB!! Generally speaking, VB is easier to translate to C# than vice versa.

There, I said it. :laugh:
\|// Set goal. Experiment tirelessly until
|oo| practice has become expertise.  Loop.
|- | Dropbox | O'Reilly School | UltraEdit

BlackBox

  • Gator
  • Posts: 3006
Re: AutoCAD - First Plug-in Training
« Reply #12 on: December 22, 2011, 01:02:44 am »
I Jumped (am jumping?) straight from Visual LISP --> VB.NET  :evil:

I still want to learn C# syntax (for personal edification), however I went with VB.NET when I started learning the .NET API for the simple reason that it was easier to read, and was more closely 'written' with the familiar syntax of Visual LISP (ActiveX --> VBA --> VB.NET).

"Potential has a shelf life." - Margaret Atwood

Jeff H

  • Needs a day job
  • Posts: 4704
Re: AutoCAD - First Plug-in Training
« Reply #13 on: December 22, 2011, 11:07:22 am »
If you can code in VB or C#, you can learn the other in a weekend.
 
It is getting to know the framework that takes time.

M@yhem

  • Seagull
  • Posts: 11374
  • I like my water diluted.
Re: AutoCAD - First Plug-in Training
« Reply #14 on: December 22, 2011, 11:13:49 am »
Looks like the samples and tutorials favour VB.Net ...
FINALLY!!!  Right up my alley.  It gets tiring seeing all of the C-base code samples and trying to translate to VB.

Thanks!!
AutoCAD?  What the hell is AutoCAD??