Hey guys...
I'm trying to create a VB.Net program to batch print drawings usingEDrawings... and essentially I'm trying to make it follow thesesteps:
1 - Open .slddrw files that are saved in our SolidWorks EnterprisePDM 2009 vault
2 - Stamp a custom stamp onto the drawing
3 - Print the drawing
4 - close the drawing without saving
5 - move on to the next drawing and repeat the process
I can get this to work with an EDrawings ActiveX control on myform, but I'm having several problems with it:
1 - Is that it's very very very slow to load a drawing and doanything with it
2 - It crashes when you open a drawing that has a lot of detail andonly works with very very simple, low detail, drawings
3 - you have to wait between each step, so you wait and wait for itload, then wait and wait for it to stamp, and then wait and waitfor it to printer before moving on or it will crash the program
So my question... is it possible to do what I'm trying to dowithout using the ActiveX control on my form and just open the filein EDrawings and work with it like that?SolidworksApi macros
I'm trying to create a VB.Net program to batch print drawings usingEDrawings... and essentially I'm trying to make it follow thesesteps:
1 - Open .slddrw files that are saved in our SolidWorks EnterprisePDM 2009 vault
2 - Stamp a custom stamp onto the drawing
3 - Print the drawing
4 - close the drawing without saving
5 - move on to the next drawing and repeat the process
I can get this to work with an EDrawings ActiveX control on myform, but I'm having several problems with it:
1 - Is that it's very very very slow to load a drawing and doanything with it
2 - It crashes when you open a drawing that has a lot of detail andonly works with very very simple, low detail, drawings
3 - you have to wait between each step, so you wait and wait for itload, then wait and wait for it to stamp, and then wait and waitfor it to printer before moving on or it will crash the program
So my question... is it possible to do what I'm trying to dowithout using the ActiveX control on my form and just open the filein EDrawings and work with it like that?SolidworksApi macros
