cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Automatically DXF exported

Palari
3-Visitor

Automatically DXF exported

I have this problem: a cad model, a panel developed in sheet metal, with an opening in the center (a rectangular cut) with A and B dimensions. The model is parametric and is updated with a whole series of relations inserted. Obviously, this model is linked to a DRW for the creation of the DXF file for processing on the machines.
It is possible and how, from a listing from excel file or notepad file with the various dimensions of A and B, to launch a mapkey or a bach file that automatically makes the DXFs of the various panels "n" times as many as there are variants in the listing?

 
Pala
ACCEPTED SOLUTION

Accepted Solutions

Hi,

simple OOTB solution does not exist.

You can generate trail file and play it.

How to get sample trail file:

  • start Creo
  • open part
  • modify A, B
  • regenerate
  • open drawing
  • export DXF
  • close drawing
  • close part
  • erase all
  • exit session

Now you can open trail file in Notepad and look for A value, B value, DXF filename.

 

To get batch trail file:

  • remove the end of sample trail file
    • begin with !Command ProCmdOSExit was pushed from the software. line
  • put first two lines from sample trail file into batch trail file
  • repeat other lines from sample trail file (place individual values into every copy)
  • when finished start Creo and play batch trail file

 


Martin Hanák

View solution in original post

1 REPLY 1

Hi,

simple OOTB solution does not exist.

You can generate trail file and play it.

How to get sample trail file:

  • start Creo
  • open part
  • modify A, B
  • regenerate
  • open drawing
  • export DXF
  • close drawing
  • close part
  • erase all
  • exit session

Now you can open trail file in Notepad and look for A value, B value, DXF filename.

 

To get batch trail file:

  • remove the end of sample trail file
    • begin with !Command ProCmdOSExit was pushed from the software. line
  • put first two lines from sample trail file into batch trail file
  • repeat other lines from sample trail file (place individual values into every copy)
  • when finished start Creo and play batch trail file

 


Martin Hanák
Announcements


Top Tags