Skip to content

Utility to intelligently queue the Autodesk Vault job "autodesk.vault.extractbom.inventor"

License

Notifications You must be signed in to change notification settings

coolOrangeLabs/queueBomFixJob

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

queue-extractbom-job

Windows .NET Vault

Description

If you just made an import via BCP and your Inventor file have no BOM data, then operations like assign items will fail. Since Vault 2017, there is a job called 'autodesk.vault.extractbom.inventor', which extracts the BOM data and stores it into Vault. By running this job over your files, the BOM data will be created, without creating a new version/revision.

In order to queue the jobs in a 'smart' way, we created the queueBomFixJob tool, which goes over your Vault, looks for all Inventor files, checks whether the BOM object exists or not, and if not, it queues a job. In order to prevent the jobqueue to be filled up too much and slow down Vault, this tool will queue just x (MaxJobsInQueue) jobs at the time with priority y (JobPriority) and then go to sleep for z (IdleTimeInSeconds) seconds. The parameter are configurable in the .config file.

The tool can be closed and restarted at any time, as it stored his "to do" list in a local little database. The first time you start the tool, it collects the data from Vault and stores them into his database. The next time you start the tool, it will start from where he left off. If you like to have a clean rerun, then just delete the file 'queueDB.sdf', located in the same folder as the executable. Doing so, you remove the 'memory' of the tool, and he will start from scratch with investigating and queueing.

Author

coolOrange s.r.l.

coolOrange

About

Utility to intelligently queue the Autodesk Vault job "autodesk.vault.extractbom.inventor"

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published