Hi guys,
As I make many 2D drawing it would be a big save of time to run a macro that saves the document and automatically export to the same folder the .pdf file.
The only language I have available is VBScript.
Thanks for your help.
Jose, even I can do that!
You will just use the lines:
Set drawingDocument1 = CATIA.ActiveDocument
drawingDocument1.ExportData mdoc, "pdf"
where mdoc is the path\filename of the output file
Phil Harrison
COE V6 Certified Professional
COE President 1996-2005
Hi Phil,
Thanks for your attention but I want to use the activedocument's name and the path to export the .pdf.
How can I do that?
I think we can use .path to get the path of the active document, something as following:
str1=oDoc.path
str2=oDoc.fullname