iLogic - add PDF to Vault
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to automate our document control system so that once a drawing has been either completed, checked or approved, the drawing is checked into the vault, a pdf is created, and the pdf is also checked into the vault, amongst other things.
Currently it will check the file into the vault with the lines:
ThisApplication.CommandManager.ControlDefinitions.Item("VaultCheckinTop").Execute2(False) System.Windows.Forms.SendKeys.SendWait(CommentBox & Chr(9) & vbCrLf)
I'm also successfully creating the PDF and saving it on my local drive with the lines:
NewFileNameAndExtension=ThisDoc.PathAndFileName(False)& "_REV_" & iProperties.Value("Project", "Revision Number")&".pdf" ThisDoc.Document.SaveAs(NewFileNameAndExtension, True)
I want to then be able to check the PDF file into the vault in the same manner as I have done the drawing itself.
I am new to inventor/ilogic/vault so I'm not sure how to do this, I have managed to get everything else so far from these forums but couldn't find anything on this. Any help would be greatly appreciated.
Running Inventor Professional 2023 and vault Basic 2023
Thanks
Alasdair