Macro Edrawing

Hello

We have a macro that automatically saves our assemblies in eDarwing, PDF, etc....  in a specific directory and in a predefined file format

Coupled with the INTEGRATION utility, I can therefore automatically convert my entire database.

The problem is that when I have several configurations in my assembly, at the time of the conversion eDrawing asks me to choose the following thing:

 

We want to systematically choose "All configurations".

How to add this info in the macro?

@PL, wouldn't you have a bit of macro that would do that?

Attached is the macro.

 

 


ficap_macro_conversion_wt_ass_interservices.swp

Hello

If you have Integration, then you also have BatchConverter which fully replaces your macro. Unless your macro is still doing something else?

@+

Edit: with an image


batchconverter.png
1 Like

My macro does:

  • eDrawing conversion of an Assembly file : name of the fichier_description (*)
  • PDF conversion of drawing: file name

(*) Retrieve the Assembly Description property.

 

With Batchconverter it is impossible to do these 2 conversiosn in one go. I have to do it in 2 times.

With Integration, it's not feasible either (where I didn't find the trick!!)

So we created a macro. The advantage of the macro is also that if I just have an assembly to convert, I can do it quickly from SolidWorks via a macro button.

Re

You talk about combining Integration and macro, in what sense?

If it's Integration that launches your macro, it can launch Batch Converter 2 times, if I'm not mistaken?

@+

Edit: While testing I realize that you do need a macro if you want to automate

 

Below is my integration settings:


capture.jpg

Re

In Integration there are the export functions see attached image.

@+


integration.jpg

Yes, but on the other hand you can't (well I think !!) concatenate the file name and the description property (of the assembly).

If in the options/naming rule/advanced mode

@+

 

Edit: On the other hand unfortunately there is not the option to export all the configs!

2 Likes

the naming rules will apply for all my integration, i.e. if I convert to edrawing and PDF I am forced to have the same syntax of output files. Which is not the case in my example:

  • Edrawing: Name of the fichier_description
  • PDF: file name

No, you can put conditions on the naming rules, see image


integration_2.jpg
1 Like

No, you can put conditions on the naming rules, see image


integration_2.jpg