Message 1 of 9
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
So I have this working piece of code that PDF's my active drawing. Now I would like to PDF all open drawings by looping over them, but it's not working. I assume it's because the external rule "PDF Working Folder" is referring to the ActiveDocument. Is there a way of looping over the VisibleDocuments and make them the ActiveDocument?
Any other suggestion is welcome 😉 Thanks in advance!
Grt, Joris
Dim oDoc As Document For Each oDoc In ThisApplication.Documents.VisibleDocuments If (oDoc.documenttype = kDrawingDocumentObject) Then iLogicVb.RunExternalRule("PDF Working Folder") End If Next oDoc
Solved! Go to Solution.