Mass generation of dxf in automatic

Hello

I would like to be able to generate dxf in bulk by selecting my desired 3D (part) in EPDM

and I would like to save them in a specific folder "G:\DAO\Iges-fao",

under the name found on the data card as well as the index also found in the data card

See attached file (here the movex code I want to recover + the revision)

thank you for your help

Sebastian

 


doc1.docx

Hello

Go through the bath converter, it's terrible, there are a multitude of treatments that can be done.

@+.

AR.


2020-12-17_141920.jpg
4 Likes

thank you I'll look into that

Sebastian

1 Like

I confirm batchconverter works very well but since Pdm there is also this tool:

DocPublication

Automatically convert your SOLIDWORKS, Office, DXF, and DWG documents to different formats during validation

 

See this link:

https://www.lynkoa.com/mypdmtools

Not having PDM I don't know and I'll let you explore this avenue.

 

And there may also be a native solution to do it directly in PDM

 

4 Likes

Hello

 

I would use Doc publication since you have Solidworks PDM

You can wire this software to your PDM workflow

 

You can set up your output folder via the PDM  metadata of your file in question.

For example, the path to the storage folder could be this:  files path\Code move

File Name:  Index-Number

 

Be careful, the DXFs take the scale of your views.

Cdlt

3 Likes

Hello

It is very easy to create a dxf or dwg generation task with EPDM (as with pdfs).

Depending on the use, this task can be triggered automatically according to the workflow if necessary (for example: generation of the stp automatically when the 3D file is validated).

NB: if automation is the chosen solution it will quickly swell your safe (it's quite heavy the step files)

NB 2: we tried to launch the generation of 850 pdfs at once via the EPDM task we won't do it again. Statistically there is a chance of error on at least one file -> the task is restarted (by default with us it's three tries before canceling the task) -> 850 *3 more pdfs in the EPDM database (with a lot of pdfs having reference problems). I think you should avoid exceeding ten files per batch to be safe.

 

Thank you for your different answers I will study this knowing that when I talk about mass processing I am talking about about 50 DXF to be created 

EPDM jobs can also generate files outside the EPDM database (if you don't need to manage their history/revision...). It is also possible to add the revision index and/or the version number (and many other values) in the name of the generated file.

1 Like

Thank you

How to Create an EPDM Job

Hello

To convert an SLDDRW no pb  because it's 2D
On the other hand, you talk about SLDPRT or SLDASM, there it's more complicated because you need a side to export

Two options,
Option 1: you create a view in your 3D which will always be named the same kind as "DXF" and then you make a PDM task that exports not the face but the projection of this view.

Option 2: You export by hand.


I don't know of any automation that is able to define for you the direction of the projection to be exported, you will have to do something beforehand to prepare the 3D files


Personally I always do my DXF by hand, I made a small macro, I just have to open the part, click on the face I want to export, and the macro will save in the right place with the right names. Couldn't find a more reliable solution.
 

1 Like

Hello

thank you for your feedback Michael delacote

apparently what I want to do is quite complex without the tools mentioned above that I don't have

I would like to ask you if you would like to share your macro with me, it will already save me some time

 

Regards 

Hello,

Check as an attachment, there is a little editing to be done to be able to adapt it to your use, but it will give you a good base.

The macro includes subfolders with the validation date, and a checker if the file exists


conversion_dxf.swp

PDM variables used and links to change

"Review" for revision

"Déssiné_le" for the drawing date

"Product" for ERP number

The root folder of my record is: "\\srv-nas\DATA\MOCN\" To replace with yours.

thank you very much I will try to make it my own by modifying the parameters mentioned above