Export tree API ??

Discussion in 'SolidWorks' started by Bas, Oct 20, 2004.

  1. Bas

    Bas Guest

    Hi,

    Doe anybody have some kind of an API yo export the solidworks tree to excel?

    Thanks,
    Bas
     
    Bas, Oct 20, 2004
    #1
  2. Bas

    P Guest

    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.
     
    P, Oct 21, 2004
    #2
  3. 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
     
    Corey Scheich, Oct 21, 2004
    #3
  4. Bas

    P. Guest

    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.
     
    P., Oct 22, 2004
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.