AnsweredAssumed Answered

SW DM API - How to get cutlist for a specific configuration?

Question asked by Graydon Svendson on Oct 7, 2015
Latest reply on Sep 19, 2018 by Rodney Thomas

My company is using the Solidworks document manager API to get a list of cut list items for a specified Solidworks file.


Some of our files have different cut list items depending on the configuration.  My issue is I can't seem to find a way to tell which configuration the cut list items belong to.


To my knowledge the only way to get the cut list is using the ISwDMDocument10::GetCutListItems2 method.  This gets me a list of the entire cutlist for that document, but I can't seem to find a way to tell which cut list items belong to which configuration.


The only idea I can think of is changing the active configuration.  It looks like quantities on the cutlist seems to change depending on the document's active configuration.  Is there a way to change the active configuration?


If anyone has any ideas, I'd appreciate it.