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

0 Members and 1 Guest are viewing this topic.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • 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
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
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.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

alanjt

  • Needs a day job
  • Posts: 5352
  • 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 2019 ~ Windohz 7 64bit
Dropbox

BlackBox

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

Cheers! :beer:
"How we think determines what we do, and what we do determines what we get."

SGP2012

  • Guest
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.

Jeff H

  • Needs a day job
  • Posts: 6144
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: 17750
  • Have thousands of dwgs to process? Contact me.
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.
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

BlackBox

  • King Gator
  • Posts: 3770
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 »
"How we think determines what we do, and what we do determines what we get."

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • 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.
kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

SGP2012

  • Guest
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.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • 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. 

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

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
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:
Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst

BlackBox

  • King Gator
  • Posts: 3770
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).

"How we think determines what we do, and what we do determines what we get."

Jeff H

  • Needs a day job
  • Posts: 6144
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.

Matt__W

  • Seagull
  • Posts: 12955
  • 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!!
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io