Export tree API ??

Oct 20, 2004 3 Replies

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

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required