I have some tools that were written in C# for AutoCAD 2010 and I now need to convert the code to work with AutoCAD Electrical 2015. (Some changes must have taken place because they will not work in 2015 versions) Can anyone point me in the right direction on how to get instructional information on the process involved to do this? The keyword here bing "convert".
Any tips or tricks you may know of would be helpfull. I am using Microsoft Visual Studio Express 2013.
There are a couple of large changes - one being the removal of fibres and the other being the split between the program and the UI. The former shouldn't affect you much unless you are using NEXTFIBREWORLD on a regular basis. The latter is probably the big one - there are now three references to be working with (AcMgd, AcDbMgd, and now AcCoreMgd). A number of methods have now been changed to extension methods. Provided your code is well managed, it should just take changing to the two existing reference DLLs to the appropriate version and adding the new one.
Are there any developers guides for Acad electrical. I have the Autocad .NET developers guide, but that does not go into the Electrical version. I want to control Autocad electrical Through C#. We have Autolisped the hell out of it, but there are project-wide tasks that we cannot get Lsip to do. We can build a project from one command. It creates all the pages, adds the descriptions, numbers them, and updates everything. We also use DCL's to select parts fro our circuits and we build an entire page in undedr 5 seconds. the only problem is that if werun a script file to run the lisps, it locks up after each drawing. I think that controlling it from c# can elimnate that problem if only I can get my hands on all of the Electrical properties and methods.
Thanks.
There is no other API for AcadE specific stuff other than the LISP one.
You are able to communicate with lisp via. NET and it seems to work quite well. Also, I tend to "reverse engineer" AcadE to do things "manually" but still makes sure AcadE understand what I've done.