Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hello,
I am wondering if there is an option to automate drw to dxf process.
I get a lot drw files and I have to open them with Creo, then I have to choose right view I need to export (there are many views available). After that I click on size and remove format, make it flat, make correct scale 1:1 and at the end I delete annotation and save as dxf. And prepare it for sheetmetal with another application. It takes a long time for one export, I have to do this 40 times a day at least. I am wondering if there is any way to make this faster in Creo.
Thank you.
Solved! Go to Solution.
Fair warning about using the Part as a starting point, there may be more steps but it's a more repeatable process. The one downside of using the part is that you may have to type in the name of the DXF. Which ever method you decide, remember to break this into small pieces by recording each little bit one at a time (say into a mapkey called TEMP), then saving the TEMP mapkey to your desktop, open TEMP.pro in Notepad, and pasting each small section of mapkeys together into your config.pro and save, and then load your updated DXF mapkey into Creo using the UPMAP mapkey from my other post about mapkeys. This is will allow you quickly build/test portions of your mapkey by solving one part at a time.
Here's the steps I used but feel free to start simple:
I would start with Creo Mapkeys and if you're not able to get far enough with that, try either Creo APIs or 3rd part scripting tool like SIGMAXIM SmartAssembly but they will likely require more time/money than mapkeys. Mapkeys are a recording of Creo button clicks and they're included as part of Creo. Here's a post I wrote about making mapkeys.
I have created several 'complex' dxf mapkeys that could create 2D DXFs in about 20 seconds per DXF - see the attached video. My usual perference for a starting point was actually from the Creo PRT file and not the drawing since drawings are pretty variable as as starting point since you likely have extras views, the view you want may have the wrong view settings, removing tables, removing formats, removing anotations, remove notes, removing symbols, etc. No matter which mapkey method you choose, using the Creo Find tool is your best bet to Select All (use CTRL-A to select all objects in search results) and Delete All symbols, notes, annotations, tables, etc.
If you want to start from a view from the drawing, record the following steps (you can record each step one at a time, save each portion out, and stitch/modify each portion together in your config.pro):
You will have to test and change this as necessary.
This looks good, from PRT, can you write me a step by step from PRT?
I am still quite new to this.
Thank you.
Fair warning about using the Part as a starting point, there may be more steps but it's a more repeatable process. The one downside of using the part is that you may have to type in the name of the DXF. Which ever method you decide, remember to break this into small pieces by recording each little bit one at a time (say into a mapkey called TEMP), then saving the TEMP mapkey to your desktop, open TEMP.pro in Notepad, and pasting each small section of mapkeys together into your config.pro and save, and then load your updated DXF mapkey into Creo using the UPMAP mapkey from my other post about mapkeys. This is will allow you quickly build/test portions of your mapkey by solving one part at a time.
Here's the steps I used but feel free to start simple:
Would you mind posting the mapkey file so I can import it and use it? This is pure genius and will save us alot of time.
-Branden
You maybe could also look into this threads:
also:
how to export each sheet as separate dxf from drawing file
Thank you for all the help!