Message 1 of 5
First Add ins DLL not showing in Customize-Ribbon-all commands
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hello guys,
I have some issue with my first Add ins.
I've already checked several tutorials but when I try them I'm getting some references error.
Or they are too complicated for my first try.
I get a DLL
that I put in
C:\Program Files\Autodesk\Inventor 2014\Bin
I get a .addin
that I put in
C:\ProgramData\Autodesk\Inventor 2014\Addins
When I open Inventor I can find my Addins in the add-in Manager but I can't see it in the
customise -> Ribbon -> all commands
Module Module1 Public Sub SortBom() Dim invApp As Application invApp = Runtime.InteropServices.Marshal.GetActiveObject("Inventor.Application") Dim drw As DrawingDocument drw = invApp.ActiveDocument If drw.DocumentType <> DocumentTypeEnum.kDrawingDocumentObject Then MsgBox("Only in Idw..") Exit Sub End If Dim oPartsLists As PartsLists oPartsLists = drw.ActiveSheet.PartsLists Dim oPartsList As PartsList Try For Each oPartsList In oPartsLists oPartsList.Sort("REFERENCE", True, "DIMENSION", True, "TITLE", True) oPartsList.Renumber() oPartsList.SaveItemOverridesToBOM() Next Catch ex As Exception MsgBox("No Standard Bom", , "Error") End Try End Sub End Module
I've checked this Addin (Thanks to "USTG_ENGGSERV_ACAD")
but it's a bit too much as I don't need the dynamic creation of a button.
Is there somewhere a (simple) example as "how to" make an Add-in showing in the customise -> Ribbon -> all commands?
Thanks for any advice