Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
sgwilliams
1337 Views, 10 Replies

VBA Question

Not sure if this post should be asked here or the Vault forum. Here goes anyways, I'm sure someone will enlighten me. :winking_face:

 

I'm trying to use Inventor VBA to check the status of a ".idw" file to see if it is checkout out or not. If it is not checked out, I would like to know how to check it out using VBA and it's child model file as well, so I can change some iProperties then check them back in. The screenshot image below is an example of the two files that need to be checked out. 

 

Example:

 

vaultaddinbrowserss.PNG

The "CNB-64-3B.idw" file has two child ".ipt" documents referenced. The "CNB-64-3B.ipt" model file is the file which contains the iProperties that populate the titleblock on the sheets in the "CNB-64-3B.idw" file. So We have to check the status of each one of these. If the status is not checked out then we need to check out the files do our changes then check them all back in. The iProperty fields in the "CNB-64-3B.ipt" model file that we need to change is just approval by and approval date iProperty fields. 

 

The reason I'm asking this on the forum is that my google searches and forum searches have left me with very little result. Any help on this subject would be greatly appreciated. Also if this needs to be moved to a different forum please let me know so I can deal with that.

 

Thanks.

Work Station : Custom built, Liquid Cooled, Asus Pro WS X570-ACE Motherboard; AMD Ryzen 9 3900X 3.8 GHz 12-Core Processor; ASUS TUF Gaming NVIDIA GeForce RTX 3060 V2 OC Edition Video Card; 32 GB CORSAIR Dominator Platinum DDR4-2132 Memory ; Samsung 850 EVO 1TB SSD Drive.