Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by Milothicus

  1. Milothicus

    Addin menu visibility

    i've downloaded the vb.net addin template from: http://www.solidworks.com/pages/services/APIDownloads.html and opened it up fine. it works great, and shows how my macro can now look... but... the menus disappear when you open an assembly, which is the one time i need them to appear. i can't...
  2. Milothicus

    Subassemblies, Configurations, and Suppression, Oh My!

    I was working on a system for that.... then realized there's no need for subassemblies. so...now we'll dissolve all subassemblies. much simpler...
  3. Milothicus

    Subassemblies, Configurations, and Suppression, Oh My!

    The problem i had was that a main assembly's configuration can only determine whether or not a subassembly is suppressed, and which config of the subassembly is referenced. it can't adjust the suppression of individual parts in a subassembly.
  4. Milothicus

    Subassemblies, Configurations, and Suppression, Oh My!

    Found it. in each configuration (main), right-clicking on the subassembly and selecting properties allows you to choose which configuration (sub) is associated with the active configuration (main)... in case anyone else wanted to read...
  5. Milothicus

    Subassemblies, Configurations, and Suppression, Oh My!

    sorry bout the subject. I'm working with pipe fabrications in subassemblies within a main assembly. the problem i'm having is that my configurations in the main assembly can only determine wether or not each entire subassembly is suppressed. if i want only half of a subassembly to show in one...
  6. Milothicus

    How to open subassemblies when traversing feature tree

    sorry, i actually forgot to mention i'm doing this in API. It's all i'm doing, so i keep forgetting to specify that...
  7. Milothicus

    How to open subassemblies when traversing feature tree

    I'm traversing the feature tree looking for parts, because they're organised in folders. the problem i'm having is the fact that all folders contain an assembly. i can find assemblies, but can't get the parts they contain. if i have a variable (as feature) that is the assembly, how do i open the...
  8. Milothicus

    How do I add a sum/total cell to a table through API?

    Here's a zip file from solidworks. i don't know why i didn't find this earlier, and now we've restructured the drawings and no longer need the calculated cells, but if anyone else needs some help here, this file includes a nice powerpoint slideshow and some useful programs to cause calculated...
  9. Milothicus

    How do I add a sum/total cell to a table through API?

    that's what i've done, but it worries me. if the table gets updated (which is possible) that total isn't dynamic, where a sum/total cell is.
  10. Milothicus

    How do I add a sum/total cell to a table through API?

    there were quite a few things i tried recording macros for and ended up with a bunch of code that was all 'SelectByID2' lines. i can't remember at the moment if it was all BOM stuff, but it may have been. i'm quite convinced this isn't built into the API. should be, though.
  11. Milothicus

    How do I add a sum/total cell to a table through API?

    Also, i've tried recording a macro making the change. all i get (as I usually do) is a program that selects my BOM. why is the macro recorder such a piece of crap?
  12. Milothicus

    How do I add a sum/total cell to a table through API?

    i hadn't read that, but i already knew how to do it through those checkboxes... but i can't find any reference to sum cells or total cells in the object browser, or searching in the API help. could it be part of another reference that i don't have installed? how would i know what i need...
  13. Milothicus

    How do I add a sum/total cell to a table through API?

    I suppose thats the only way to do it. seems rediculous though, that you can't just change the property of the cell to 'sum/total' like you can when viewing a drawing. it would be so easy to program....
  14. Milothicus

    How do I add a sum/total cell to a table through API?

    I've got code that creates a drawing, inserts views, and inserts a table (not excel based) and adds a row to the bottom... now i need it to add a sum/total cell to a column, but i can't find how, or if it's even possible... anyone done this successfully before?
  15. Milothicus

    "Processing" indicator while running macro

    first, i set the worksheet pointers to Nothing, then set the WB.saved = True (to avoid save confirmation when closing), close the workbook, set that to Nothing, then xlapp.quit, set that to Nothing, then go through the SW references i've created doing the same... i'm not clear on the different...

Part and Inventory Search