Hi mhatfield,
I don't think you can access the button, instead I think you'll want to use AddReference to call the .dll for the addin as in the example below. In this example a .dll for a dialog box is being called.
I'm not sure how much that helps, but you might find more information on this by searching the Inventor Customization forum:
http://forums.autodesk.com/t5/Autodesk-Inventor-Customization/bd-p/120
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com
AddReference "myAddin.dll"
Using dlg As New myAddin.myAddin_Dialog1
dlg.d0 = d0
Dim i As Integer = dlg.ShowDialog()
if i <> vbOK then return
d0 = dlg.d0
End Using
iLogicVb.UpdateWhenDone = True
Thank you for your help Curtis, I will look into seeing if this works and follow the link you provided for further assistance if needed.
Thanks
Mitch
Hi Curtis,
I'm not sure that I actually want to access the button per say, but instead launch the dialog box. I'm not sure if this differs your answer in any way, but I searched the customization forum and found little information.
I found out the name off the .dll for the link, and placed it in the AddReference location which pretty well destroyed all of the rest of my code. So I tried applying the project name in which case an error appeared saying that inventor could not find the library.
Please advise if anyone can provide further assistance.
Thanks
Mitch
Hi Hi mhatfield,
I'm not sure I have a much more to offer, but you might create a post on the customization forum asking about this. I'm guessing somone who watches that fourm more, might have a better idea of how to go about this.
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com
Can't find what you're looking for? Ask the community or share your knowledge.