Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
JhoelForshav
in reply to: Anonymous

@Anonymous 

This is VBA not iLogic... If you want to run it as an iLogic rule you could use something like this :slightly_smiling_face:

For Each oDoc As Document In ThisApplication.Documents.VisibleDocuments
If oDoc.DocumentType <> DocumentTypeEnum.kDrawingDocumentObject Then Continue For
oDoc.Activate 'Activate the drawing
oDoc.Save
ThisApplication.CommandManager.ControlDefinitions.Item("VaultCheckinTop").Execute2 (True)
If oDoc IsNot ThisDoc.Document Then oDoc.Close
Next
MsgBox("Checked-in the drawings")