All Vault Cmdlets automatically detect and reuse the application’s latest Vault connection (and not only when Connectivity.Application.VaultBase.ConnectionManager.Instance.Connection is available).
This means that Open-VaultConnection calls are no longer mandatory in all types of Vault applications.
Get-VaultFileBOM provides Bill of Materials for Inventor files also if their Structured View is disabled.
Note: FileBomRows have empty position numbers and row orders in such situations. In case of ERP integrations, it is recommended to check whether they should be managed specifically (see powerGate example: Return all BOM rows of a Vault file and warn about disabled Structured View).
Improved and reduced Get-VaultFileBOM log messages when Structured BOM Views are disabled in Inventor
Get-VaultFileBOM allows retrieving Bill of Materials for each Model State of Inventor files using the new -ModelStateType parameter.
Known issue with Model States and Vault Client 2022
When working with Inventor 2022 it is recommended to install the Vault 2022.3 Update (Client) or newer as several issues related to FileBOMs and Model States were addressed in the Inventor Vault Add-in.
FileBomRow results return the used model state for all components with a new
“Page not found” error page opens after clicking Help button in Control Panel → Add or Remove Programs
Issue with Get-VaultFileBOM where returned quantities were incorrect when the following conditions were met:
File contains a Phantom assembly
File was migrated from an older Inventor version with custom Levels of Detail to Model States in Inventor 2022 or newer
File was checked in with Vault Client 2022.2.2 or newer installed
Added support for Vault 2023