Macro saving as PDF to a specific folder

Hello

 

I know that similar questions have been asked before, but I have not found what I need.

 

I would like to create a macro (knowing that I have never created one), which would save my drawing in pdf format, but it would save it to me in a specific folder.

Example: 

My MEP files are all named: Plan number / Index (if there is any) - Year . SLDDRW - 001/1-2014-A.slddrw or 001-2014-A

 

For the specific file, you would have to retrieve the year in the file name and save this pdf in the "2014" folder

 

See attached file.

 

I don't have a foundation for macro creation, but I can understand the philosophy.


doc1.doc
1 Like

Hello

Have you looked in this question? 

http://www.lynkoa.com/forum/cao/macro-d-enregistrement-en-pdf-et-dxf-dans-un-dossier-externe

 

Because it seems to me to be the same problem 

 

or here:

http://www.lynkoa.com/forum/3d/macro-d-enregistrement-en-pdf

 

or with Batchconverter

 

 

3 Likes

Hello

 

     FYI, you use PDM in parallel with SW, you can do it without too much difficulty. You can save your file as a PDF, in at least two different places.

 

Cdt

 

Eric

1 Like

I look at the questions but it doesn't speak to me, I would like to have if possible a person who knows how to create a macro and who explains to me what to do to get what I want because I don't know the synthaxes I need.

Otherwise Bath doesn't interest me too much in handling!!

And I'm not in PDM

Hello

 

See my answer here:

 

http://www.lynkoa.com/forum/3d/plan-sldrw-en-pdf-dans-dossier-different?utm_source=EmailTransactionnel&utm_medium=Email&utm_campaign=Reponse-Recue

 

I don't see why BatchConverter wouldn't do the trick?

 

@+

2 Likes

After that, there is always a way to download a macro:

http://www.3dcontentcentral.fr/macros.aspx

 

Hello To get started with macros, I advise you to download my tutorial for the "save as" macro, it is commented to understand each line. Then you have to download existing macros and try to adapt them. If you have a specific question about an instruction, create a new question here!
1 Like

Here is a macro that should suit you (edit Macro2.vbproj)

 

I commented on the code

 

Tell me if OK


macro2.zip
5 Likes

Like @coyote, I don't see why Batchconverter isn't right for you........
 

The macro is a solution to be dealt with on a case-by-case basis.

The power of Batchconverter is mass and semi-automatic processing: moreover there may be a way (by asking to improve the software or not) to automate the triggering of BatchConverter.

 

BatchConverter is very simple to use and configure, and we're here to help.

 

It's worth a few hours of lingering, I think.... well that's my opinion!!!!

 

 

Hello

 

flegendre, BatchConverter, don't land me right now for 2 things, 

 

1st:  Personally I want to succeed in making a macro, something I've never done, but that's how I am, it's a challenge for me because I don't know anything about macro so I have to learn.

 

2nd: I don't know if my boss will renew the maintenance of solid, so mycadtool, which ends on 28/02/14.

 

Thank you.

look at this link it seems to me Nice following your requests if I understood correctly

http://mad4cad.com/SW_Bprint_hlp.php

@+ ;-)

The macro I attached doesn't suit you?

4 Likes

Hello

I asked a question on the subject some time ago,

 

http://www.lynkoa.com/forum/3d/macro-d-enregistrement-en-pdf

 

I attach the macro I created next, it can be used as a base.

Good luck, macros are interesting but quickly complicated...

 

 

 


enregistrement_pdf.swp

It's not that nothing suits me, but as I don't know anything about it it takes me time to get to do what I want, also knowing that I have a lot of work on the side too, but thank you for helping me.

It's not that nothing suits me, but as I don't know anything about it I need more time to do what I want, also knowing that I have a lot of work on the side, but thank you for helping me again!