Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
The company I work for has a team of engineers that create 3D models and displays, when they're done, they then take each piece and export as a DXF so that the CNC Programmers can begin cutting and assembling. We've come to the conclusion that it's taking a lot of time for each display to be broken down and exported, and were wondering if it was at all possible to make a script/automation for the DXF export process?
Thank you
Yes, this can be automated. If using Creo standalone, take a look at "Distributed Batch". If using with Windchill, take a look at "additional file types" for the CAD worker.
I was looking for more of push-button solution to put into Creo on engineers machines, via script or hotkey, something.
Unless I'm just completely misunderstanding the actual Batch functionality.
Mapkeys are handy, and can automate a lot of picks and clicks for you, but you will still need to manually start them on each model or drawing.
Where is the best place to start learning about Mapkeys, to a newbie. And Im guessing theres no way for Mapkeys to do this automatically for all the pieces involved?
Michael,
please explain what is a display. Maybe you can also attach some pictures.
Martin Hanak
What I mean by display is a 3D model of a shelf or product display; a container of sorts.
Michael,
do you need to generate:
a.) 3D DXF file containing 3D geometry ?
-OR-
b.) 2D DXF file containing a drawing ?
Please attach some pictures to better describe what you want achieve.
Martin Hanak
2D DXF containing a drawing, I am working on getting a few pictures as examples.
What should be the name of the dxf file? The same of the part?
Each piece of the 3D model is to be saved as a 2D DXF with the same naming convention as the parent file, with a numbered notation after (001, 002, 003, etc)
Michael,
OK, you need to export a drawing. Please can you explain the meaning of numbered anotation (001, 002, 003, etc) ? Does it mean that you create multisheet drawings and numbered anotation will mean sheet number ?
Martin Hanak
I am having a meeting with our head engineer tomorrow afternoon to get you all the info and examples. Thanks!
So after meeting with the engineers, they have DRW files generated by CREO which they then take and put front, back, and both side views, remove the sheet, isometric, and guidelines, and then save as DXF in a certain network share. They want a script or macro in 2 parts; the first one to make all the views of the part, remove all the unnecessary information. The next to "Save As" DXF pointed at a shared folder, with a prompt to name it.
Thanks for your help!
Michael,
I think that it would be difficult to use existing part drawing, because I do not know how to remove unwanted contents from it (drawing, notes, tables, ...).
My suggestion is to create 4 drawing templates for FRONT, BACK, LEFT, RIGHT views and for every part repeat the following procedure.
Requirements: Every part must contain FRONT, BACK, LEFT, RIGHT views.
Note:
It is possible to create one drawing template containing FRONT, BACK, LEFT, RIGHT views and instead of 4-step procedure have 1-step procedure. But I do not know how to prevent overlaying of 4 views.
Martin Hanak