Hi - I found this script (it came from John Dube originally, but I couln't find it here in the community). It uses a filesystem construct to define the output. Look at lines 50-to 54
Dim FSO : Set FSO = CreateObject("Scripting.FileSystemObject")
Dim vmbom : Set vmbom = vmaddin.Control.VariantGuiApplication.BOM
vmbom.format = eVMHTML
vmbom.OutputPath = FSO.BuildPath(dxdApp.GetProjectData.GetProjectPath(), GetTopBlockName(dxdApp))
I took it for a quick spin in VX.2.4, but it fails, and may need some fiddling for VX releases (look in the file to see the usage, it uses mgcscript in a MGC BCD CMD shell).
I hope this helps...
GenerateVariantBOM.vbs.zip 1.2 KB