coolOrangeLabs / powerGateTemplate

powerGate full functional sample ERP integration
MIT License
3 stars 3 forks source link

Error OpenERPMaterialWindows from Inventor VDS #192

Closed xdumont closed 2 years ago

xdumont commented 3 years ago

When saving a part, when clicking the button "ERP Item..." I get this message image

I think the problem is this: In C:\ProgramData\Autodesk\Vault 2022\Extensions\DataStandard\CAD.Custom\addins\powerGateMain.ps1 function OpenErpMaterialWindow => this function load "C:\ProgramData\Autodesk\Vault 2022\Extensions\DataStandard\Vault.Custom\Configuration\File\erpItem.xaml"

image

This XAML mention a TAB called "ERP Item" (a tab visible in the Vault Client but not existing in Inventor). image

The workarround I found is to copy this XAML to "C:\ProgramData\Autodesk\Vault 2022\Extensions\DataStandard\CAD.Custom\Configuration\erpItem.xaml" Comment this part mentionning the ERP Item tab. image

And change the loaded XAML in the function OpenErpMaterialWindow image