Thanks for all your pervious help, I now have a revised idea of what exactly what I need. It is as follows:
I have a program that creates a file name based on give parameters. The file name format is as follows:
Drive:\Main Directory\***\***1234?.ext
*** = 3 letter code
? = a single letter...
Stoker,
Your second list there is what I am tring to achieve. I am almost there, with the excepting of the right view coming into the DXF drawing. This is what I think is happening with the createDXFFromModelView command:
If you create a part, turn it into Sheetmetal, then step back one in the...
Rocheey,
So let see if I am getting this right. If I create a drawing view of my flat pattern (witch we do for all parts already) on our sheet templete, scale the part say to 1:5 to fit on the sheet.
Now I come a long and pull the geo, with your routeen and output it to DXF it will be at 1:1...
MadMango,
We have come across this problem as well. The thing I found really annoying was that it's not consistant. Sometimes it keeps it on "11x17" but other times it doesn't. So my work around is to not use the print icon on the toolbar and go though the menus. I just start the...
Belgium,
I am assuming you are using 20GA CRS sheet stock. Are you air bending? If so what radius punch, and what size "V" openning?
Are you talking true BA or an OBD (Outside Bend Deduction)?
What about using a K-Factor insted of a BA in SW?
Geoff
rocheey,
Thanks, I took a look at your thread. It seems to me that the code there pulls the dxf from a drawing. how does it handle scaling issues?
I want to be able to pull the dxf geomitry right from the model file.
I hope I was looking at the right thread. "API : View to DXF module"
Stoker,
Well I tried the "CreateDrawViewFromModelView()" it work, but has a limitation that you can't turn off the bend lines easily. So This is what I finially did:
bRet = swDraw.CreateFlatPatternViewFromModelView2(_swModel.GetPathName, "DefaultSM-FLAT-PATTENRN",PaperWidth...
Stoker,
I was thinking of just using the "FlatPattern" view that SW creates. As we always select the "Punch Side" as the face, the view will have the right orientation. Secondly this view is automaticlly updated.
Thanks for the "CreateDrawViewFromModelView()" I...
I am new to VB and was wondering how to go about checking to see if the file name the program has created already exists. I could use the commondialog1.showsave , Flag 2, but I don't want to see the dialog box. I just want the program to ask me if I want to overwrite the existing file.
Any...
Rocheey & Stoker,
Thanks for the ideas and help. I have been testing this DXF Prog at home on a part and it worked out fine. **BUT** when I tried it on a few parts at work, I ran into a problem. That is on some parts it would create a DXF on the raw edge on the part that is to say for example...
I have created a code that takes the currently open Model file and creates a DXF file using info from our title block to creat the DXF file name. Now my problem that I can't seem to find away around is how do I get the longest axis of the part to be place left to right in the dxf file (IE we...
Hey there,
I am setting up SolidWorks 2003 and was wondering if anyone knew of a way that I could get the K-Factor, Bend Radius, and Material Thickness to show up on my flat pattern drawing. I know I could manually enter this infomation, but you alreay enter it into the model, so I would like...
You must also take into consideration the size of the bottom Die "V" you are using. (IE. Alum. 0.063 thick (14ga) with a 0.030" rad will have a one k-factor using a 0.236" V and another if using a 0.472" V
Does the handbook tell you the size of the opening they are...
MadMango.
Our place sends the SMP Flat out top the floor along with the customer drawing.
Stroker,
While right now we are using Solid Edge, but we are going to be changing over to Soildworks (Three of us have used SW in the past and SE is way to picky in my opinion!) But right now we will...
I am looking at a way to have a hole chart, K-Factor, Bend Radius, Material thickness, and bend directions added to flat patterns in the draft. Other then putting this information in manually. I have heard of hole chart programes out there, but can't seem to find any. Can anyoue help me out...