Example #1
0
 public bool ConnectToSW(object ThisSW, int Cookie)
 {
     swApp    = (SldWorks)ThisSW;
     Addin    = this;
     swCookie = Cookie;
     System.Diagnostics.Debug.Print("Successfully loaded BlankAddin");
     return(true);
 }
Example #2
0
 public bool DisconnectFromSW()
 {
     Addin = null;
     GC.Collect();
     return(true);
 }