TheSwamp

Code Red => .NET => Topic started by: Draftek on May 14, 2014, 12:05:03 PM

Title: AutoCAD 15 and the API
Post by: Draftek on May 14, 2014, 12:05:03 PM
I've been out of the programming world and AutoCAD for some time now. Anything new in 15 regarding user experience and API?
Title: Re: AutoCAD 15 and the API
Post by: dgorsman on May 14, 2014, 12:43:58 PM
Constipation, due to less fibres.   :-D
Title: Re: AutoCAD 15 and the API
Post by: mjfarrell on May 14, 2014, 12:56:16 PM
it's now Gluten Free!

and can cause unexplained Priapism
Title: Re: AutoCAD 15 and the API
Post by: Draftek on May 14, 2014, 01:01:42 PM
So, they finally revamped the graphics?
That's it?
Title: Re: AutoCAD 15 and the API
Post by: Andrey Bushman on May 14, 2014, 01:23:27 PM
http://www.youtube.com/watch?v=ahzcbtG-SwE
http://www.youtube.com/watch?v=mEfdozjN62Y
Title: Re: AutoCAD 15 and the API
Post by: BlackBox on May 14, 2014, 01:35:51 PM
From Kean:

AutoCAD 2015 for developers (http://through-the-interface.typepad.com/through_the_interface/2014/03/autocad-2015-for-developers.html)

AutoCAD 2015: calling commands (http://through-the-interface.typepad.com/through_the_interface/2014/03/autocad-2015-calling-commands.html)

Supporting AutoCAD 2015’s dark theme (http://through-the-interface.typepad.com/through_the_interface/2014/04/supporting-autocad-2015s-dark-theme.html)

AutoCAD 2015’s updated JavaScript API (http://through-the-interface.typepad.com/through_the_interface/2014/04/autocad-2015s-updated-javascript-api.html)

... etc.
Title: Re: AutoCAD 15 and the API
Post by: mjfarrell on May 14, 2014, 02:14:08 PM
Funny, they pay lip service to supporting the Dark Theme, however as I pointed out in my review of C3D 2015 the
Dark Theme is NOT fully implemented; even by Autodesk. (what a bunch of losers)
Title: Re: AutoCAD 15 and the API
Post by: Kerry on May 14, 2014, 02:19:35 PM
AutoCAD 360 won't go away quietly so the Javascript API (1) may be worth investigation in the next 12 months.
The Document Tabs looked interesting .. just need to find a rational reason to use them ... other than Ohhh shiny !

(1) Jonesy, there's a good excuse to learn JavaScript :)
Title: Re: AutoCAD 15 and the API
Post by: Draftek on May 14, 2014, 02:31:13 PM
Thanks,

Some interesting features as usual but nothing earth shattering either.

I'll go back to sleep now..
Title: Re: AutoCAD 15 and the API
Post by: Keith Brown on May 14, 2014, 05:17:29 PM
=
The Document Tabs looked interesting .. just need to find a rational reason to use them ... other than Ohhh shiny !


I was planning to use this tab to display information about the current open drawings.  Since I use AutoCAD MEP I was going to investigate to running total of fittings, pipe, duct, etc and display as a html page.  So far its just a thought and nothing on paper yet.
Title: Re: AutoCAD 15 and the API
Post by: BlackBox on May 14, 2014, 06:33:59 PM
1+

Looks like both HTML, and WPF are supported... I'll have to try the WPF, as I was just gathering documentation for an internal resources WPF Browser App anyway.

http://through-the-interface.typepad.com/through_the_interface/2014/04/adding-a-web-page-as-a-document-tab-in-autocad-2015-using-net.html

http://through-the-interface.typepad.com/through_the_interface/2014/05/adding-a-wpf-document-tab-in-autocad-2015-using-net.html
Title: Re: AutoCAD 15 and the API
Post by: Dent Cermak on May 14, 2014, 06:53:10 PM
it's now Gluten Free!

and can cause unexplained Priapism



not to mention anal seepage.........
Title: Re: AutoCAD 15 and the API
Post by: mjfarrell on May 14, 2014, 08:37:28 PM
it's now Gluten Free!

and can cause unexplained Priapism



not to mention anal seepage.........

Sorry to hear about that one Dent.
Title: Re: AutoCAD 15 and the API
Post by: MexicanCustard on May 15, 2014, 07:42:39 AM
Autodesk did finally adopt .NET 4.5. So you can now use Async/Await in your plug ins.
Title: Re: AutoCAD 15 and the API
Post by: BlackBox on May 15, 2014, 08:44:19 AM
Autodesk did finally adopt .NET 4.5. So you can now use Async/Await in your plug ins.

For those (ah me) who may not already be adept:

Quote from: MSDN, async (C# Reference)

async (C# Reference) (http://msdn.microsoft.com/en-us/library/hh156513.aspx)

Use the async modifier to specify that a method, lambda expression, or anonymous method is asynchronous. If you use this modifier on a method or expression, it's referred to as an async method.

...

If you're new to asynchronous programming or do not understand how an async method uses the await keyword to do potentially long-running work without blocking the caller’s thread, you should read the introduction in Asynchronous Programming with Async and Await (C# and Visual Basic) (http://msdn.microsoft.com/en-us/library/hh191443.aspx).

...