Example #1
0
 public DocView(SwAddin addin, IModelView mv, DocumentEventHandler doc)
 {
     userAddin = addin;
     mView     = (ModelView)mv;
     iSwApp    = (ISldWorks)userAddin.SwApp;
     parent    = doc;
 }
Example #2
0
 public DocumentEventHandler(ModelDoc2 modDoc, SwAddin addin)
 {
     document       = modDoc;
     userAddin      = addin;
     iSwApp         = (ISldWorks)userAddin.SwApp;
     openModelViews = new Hashtable();
 }
Example #3
0
 public UserPMPage(SwAddin addin)
 {
     userAddin = addin;
     if (userAddin != null)
     {
         iSwApp = (ISldWorks)userAddin.SwApp;
         CreatePropertyManagerPage();
     }
     else
     {
         System.Windows.Forms.MessageBox.Show("SwAddin not set.");
     }
 }
Example #4
0
 public UserPMPage(SwAddin addin)
 {
     userAddin = addin;
     if (userAddin != null)
     {
         iSwApp = (ISldWorks)userAddin.SwApp;
         CreatePropertyManagerPage();
     }
     else
     {
         System.Windows.Forms.MessageBox.Show("SwAddin not set.");
     }
 }
Example #5
0
 public PMPHandler(SwAddin addin)
 {
     userAddin = addin;
     iSwApp    = (ISldWorks)userAddin.SwApp;
 }
Example #6
0
 public PartEventHandler(ModelDoc2 modDoc, SwAddin addin)
     : base(modDoc, addin)
 {
     doc = (PartDoc)document;
 }
Example #7
0
 public DrawingEventHandler(ModelDoc2 modDoc, SwAddin addin)
     : base(modDoc, addin)
 {
     doc = (DrawingDoc)document;
 }
Example #8
0
 public DocView(SwAddin addin, IModelView mv, DocumentEventHandler doc)
 {
     userAddin = addin;
     mView = (ModelView)mv;
     iSwApp = (ISldWorks)userAddin.SwApp;
     parent = doc;
 }
Example #9
0
 public AssemblyEventHandler(ModelDoc2 modDoc, SwAddin addin)
     : base(modDoc, addin)
 {
     doc = (AssemblyDoc)document;
     swAddin = addin;
 }
Example #10
0
 public DocumentEventHandler(ModelDoc2 modDoc, SwAddin addin)
 {
     document = modDoc;
     userAddin = addin;
     iSwApp = (ISldWorks)userAddin.SwApp;
     openModelViews = new Hashtable();
 }
Example #11
0
 public PartEventHandler(ModelDoc2 modDoc, SwAddin addin)
     : base(modDoc, addin)
 {
     doc = (PartDoc)document;
 }
Example #12
0
 public DrawingEventHandler(ModelDoc2 modDoc, SwAddin addin)
     : base(modDoc, addin)
 {
     doc = (DrawingDoc)document;
 }
Example #13
0
 public AssemblyEventHandler(ModelDoc2 modDoc, SwAddin addin)
     : base(modDoc, addin)
 {
     doc     = (AssemblyDoc)document;
     swAddin = addin;
 }
Example #14
0
 public PMPHandler(SwAddin addin)
 {
     userAddin = addin;
     iSwApp = (ISldWorks)userAddin.SwApp;
 }