Preview   |   SOLIDWORKS User Forum    |   8 days ago

 Get Top-level BOM view from Solidworks API


Read in Forum    All you need is a SOLIDWORKS ID, or a new or existing 3DEXPERIENCE ID.

 

I'm trying to get BOM view using the code above but it always returns Indented version (which I cannot tell easily from the view which items are under sub-assemblies). I need to get top-level BOM version. How do I do that?

var vault = (IEdmVault7)myPDMHelper.GetVault(vaultName);
var fileObj = (IEdmFile7)vault.GetFileFromPath(filePath, out var parentFolder);
var bomView = fileObj.GetComputedBOM("MyBOM",




You are not authorized to view this page No results found! Suggestions: Check spelling, try a different search, or browse topics below.