![]() M_fillButtonDef = controlDefs.AddButtonDefinition( _ M_inventorApplication = addInSiteObject.ApplicationĬontrolDefs = m_ ' The FirstTime flag indicates if the AddIn is loaded for the first time. ' The AddInSiteObject provides access to the Inventor Application object. ' This method is called by Inventor when it loads the AddIn. Public Sub Activate(ByVal addInSiteObject As Inventor.ApplicationAddInSite, ByVal firstTime As Boolean) Implements Private WithEvents m_fillButtonDef As ButtonDefinition Private m_inventorApplication As Inventor.Application ![]() Implements Inventor.ApplicationAddInServer if i hit on addins i see that it is there but not started and i am not able to start it at all. I have the code you see below and when i debug it i get th emessage: "A first chance exception of type 'System.InvalidCastException' occurred in Compilazione cartiglio.dll"Īlso the comand bar and the button dont appear. Im making my first addin, and already having trouble!
0 Comments
Leave a Reply. |