Hi, Doe anybody have some kind of an API yo export the solidworks tree to excel? Thanks, Bas
I think you will find the code to get the tree information in the API help examples. You can then write some VB code to put that info into Excel. It isn't that hard to traverse the feature tree.
In their example they already put the info in the Imediate window using debug print all you have to do is connect to excel and use their info. I just used their example to traverse the tree to get component quantities, it works quite well, quick too. Corey
There is a bunch of cool stuff, gems really, in API help examples. And when you tire of that there is a whole lot of stuff on the SW website, gallery and and other areas. I really think the API folks go out of their way to give programmers solid examples of how to do the tricky but useful stuff.