I have an addin that needs to load when the autocad loads or when user type the command. It works fine with autocad 2012 but does not work with 2013. The addin dll is located in %appdata%autodesk\ApplicationPlugins. If I use Netload command to load the dll in 2013 and it works fine. But I need that addin to load either when user type the command or when autocad start up. I have checked the http://through-the-interface.typepad.com/through_the_interface/2011/06/adn-devcast-episode-7-creatin...
which was very helpful. But still could not get it workingin 2013.
Solved! Go to Solution.
Solved by StephenPreston. Go to Solution.
You could create a lisp file that calls netload. The lisp file would then be placed in the users startup suite. Since it appears the dll is on the machine you dont need to modify the acad.exe.config file to loadFromRemoteSources.
<runtime>
<generatePublisherEvidence enabled="false"/>
<loadFromRemoteSources enabled="true"/>
</runtime>
I just try the sample add in from here http://adndevblog.typepad.com/autocad/2012/04/autoloader-the-startupcommand-parameter.html.
That one also did not load.
Could this be your problem? -
http://labs.blogs.com/its_alive_in_the_lab/2011/05/unblock-net.html
Hi Stephen,
Thanks for your reply. I have looked up the link that you have posted. The solution in the link did not solve my problem. Still none of the .net plugins loads when auto cad strats. Any help or suggestions will be appreciated.
Thanks
Sabuj
APPAUTOLOAD was set to 14 for some reason. I have changed it to 2. But still no luck.
Is there anything else I can do?
Is the Realase Max 19 in bundle, can you netload manually, etc.......
Just many things it could be, might be best to post xml file from bundle or if it errors ExtensionApplication.Intialize it will not load.
Yes, I can netload manually. It does not show any error or anything like that. its clear that it is just not loading when aucad starts up. Attached with this is the xml that I used for 2013. However for 2012, I did nt use any xml. It has been 5 days now. I am stuck. PLease let me if there is anything i can do to solve this.
Where is the dll located? Instead of using this:
./Contents/FutureFuelBlockTextPostProcessor2013.dll
Try typing in the full path to the dll.
Hi Sabuj,
I suggest you go back and watch the tutorial on Autoloader again. (Unless my Mac is editing your XML without telling me - which I doubt) your XML is incomplete and has typos in it. Among other things -
- You're missing a RuntimeRequirements section.
- You have elements/parameters beginning with lowercase characters (including your <Components/> secion, which means you effectively haven't defined any Components).
- You have a stray 'd' at the end of the ComponentEntry line.
Also, search the AutoCAD helpfiles for 'appautoloader' and you'll find a list of XML elements and whether they are required or optional.
I have this one last question.
In my Application Folder File installing property Default location set to [ProgramFilesFolder]AutoDesk\ApplicationPlugins\.
This put the dll to C:\Program Files (x86)\Autodesk\ApplicationPlugins. Instead I need to put the dll in C:\Program Files\Autodesk\ApplicationPlugins since autocad loads the plugin from that location. How do I do that? What do I set the default location to?
Just figure out the solution for my last question
set the target Platform as 64 bit app and default location to "[ProgramFiles64Folder]Autodesk\ApplicationPlugins"
Thanks
In AutoCAD 2013 we added the %programdata%\Autodesk\ApplicationPlugins folder to the list of Autoloader locations. We did this because using %programfiles% causes problems when trying to build a common MSI installer for x86 and x64 (i.e. an x86 MSI). Use %programdata% if you're targeting AutoCAD 2013 only and need to create an 'all user' installation.
Can't find what you're looking for? Ask the community or share your knowledge.