Fabrication CADmep™ > CADmep™ Users

Fabrication API Sample Addin

<< < (3/5) > >>

bobcat09:
Make sure to add the FabricationSample.DLL into the FabricationSample.bundle. This was my issue, I wasn't adding it directly into the .bundle folder.

nbuch:
I wish i could say that is all I needed to do. Ive tried multiple things with-in the folders, also adding new paths to my trusted locations and support file paths. Im not sure what else to try.

Admin:

--- Quote from: cadguy2014 on May 12, 2015, 17:05:26 PM ---I wish i could say that is all I needed to do. Ive tried multiple things with-in the folders, also adding new paths to my trusted locations and support file paths. Im not sure what else to try.
--- End quote ---

Just a shot in the dark here.

In the Readme file it mentions the directory C:\ProgramData\Autodesk\ApplicationPlugins which, of course, doesn't exist.
You aren't, by any chance, creating these directories are you?

The directory should be C:\Program Files\Autodesk\ApplicationPlugins which may already exist after installation.

Unless, of course, the US directory structure differs from the UK one?

nbuch:
The programdata path does exist for our file structure. I am going to play around with the pathing structure some more when i get some free time. I appreciate all suggestions, keep them coming! If i get something figured out, i will report back.

Thanks guys 

matt_potts:
Guys,

If you take a look at the API help file there is some information on running the sample in AutoCAD. The API help file is located at C:\Program Files\Autodesk\Fabrication 2016\SDK\FabricationAPI.chm.

Go to Getting Started>Addin Integration>Addin Integration - CADmep, there is some information there and also some useful links to resources on creating & preparing AutoCAD Addins.

AutoCAD Addins can be run from either ProgramFiles/Autodesk/ApplicationPlugins, AppData/Autodesk/ApplicationPlugins or ProgramData/Autodesk/ApplicationPlugins.

So copy the FabricationSample.bundle folder into one of these locations (C:\Program Files\Autodesk\Fabrication 2016\SDK\Samples\CSharp\FabricationSample\ACAD\FabricationSample.bundle) and then add in the FabricationSample.dll to the copied .bundle folder. The FabricationSample.dll can be found at C:\Program Files\Autodesk\Fabrication 2016\SDK\Samples\CSharp\FabricationSample\FabricationSample.dll.

Hope this helps.

Matt

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version