Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations SSS148 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 ScottWisker

  1. ScottWisker

    Searching for Dups Macro

    Tick - Getting closer. I'm using the DSO to get the created on date, but how are you returning the Installation information? I looked at everything DSO allowed and didn't see anything like that. In fact it wouldn't return SolidWorks as the application. Also in testing I modifed a copied...
  2. ScottWisker

    Searching for Dups Macro

    I'm trying to clean our server ... I've written code that searches a given location for assembly files and returns all of the components referenced within. I then compare filenames to our "vaulted" parts and return a list of matches. I was then using File Size to determine if the files were...
  3. ScottWisker

    SW hole table - Is it possible to specify the order?

    Long story why, but in short it's for how the component is machined.
  4. ScottWisker

    SW hole table - Is it possible to specify the order?

    That is correct, you can reorder the way they appear in the list. But the tags remain in the same order determined by SW. What I'm looking to do is have the tags start at "1" with the first entry being the first entity I select followed by the next one I select. I could create another column...
  5. ScottWisker

    SW hole table - Is it possible to specify the order?

    Like I said, I've saved a template that gives me exactly what I want, but in whatever order SW determines. If I add holes one at a time (select the table in the feature tree -> Edit Feature -> Add Hole) then select it will add them to the bottom of the list, but that's pretty combersome...
  6. ScottWisker

    Easy API question

    Actually this is what I ended up using. Thanks to both of you though. Function IsAppRunning(ByVal sAppName) As Boolean Dim oApp As Object On Error Resume Next Set oApp = GetObject(, sAppName) If Not oApp Is Nothing Then Set oApp = Nothing IsAppRunning = True End If End Function
  7. ScottWisker

    Easy API question

    Just can't seem to get it to work. I want to test to see if there is an currently running session of solidworks. On the API help SW page it says to use the "GetObject" command but doesn't give the syntax. Here's what I want: debug.print "Look for active SW session." Look for a session line...
  8. ScottWisker

    SW Doc Manager API Help - Paging Handleman

    Everything is working well with the program that I have written thanks to a lot of help from users of this forum. One additional request has been made to add to my program: The ability to dissolve sub-assemblies into top level assemblies. This is a one line command if I am using 'SolidWorks'...
  9. ScottWisker

    VB program to list parts in an Assm?

    With the help of this forum and lots of trial and error my program is functioning as intended. I have had a request to add the ability to change a specific dimension within an assembly to my program. Before I start down a path, is it possible to edit geometry such as dimensions defining...
  10. ScottWisker

    VB program to list parts in an Assm?

    Wow, didn't know I was opening the Pandoras box with this one. For the record here's what I was doing with the code I originally requested. I set up a basic VB exe that displays a form prompting the user for an assembly to start from and a new location. The overall goal is to copy and rename...
  11. ScottWisker

    VB program to list parts in an Assm?

    Fortunately as a general rule we don't use in-context references here . . . at least not in the files I'm dealing with right now. Thanks for the catch though, I'll incorporate that as well. The only thing I've changed at this point is using a multi-dimensional array for parsing out the...
  12. ScottWisker

    VB program to list parts in an Assm?

    Impressive 1 hour and 6 minutes later the exact code I needed. Thanks
  13. ScottWisker

    VB program to list parts in an Assm?

    Does anyone know of code that will list the components within an assembly without having to open the file? Thanks
  14. ScottWisker

    SW07 API book

    I've heard about the migration in fact I found this in the API documentation: "If you developed your application using Visual Basic 6.0 on Windows XP, then the controls on your forms and dialogs might behave unexpectedly. Therefore, it is recommended that you port your application to Microsoft...
  15. ScottWisker

    SW07 API book

    There's an API book on amazon for SW2006. I know quite a bit changed in the API from '06 to '07. Does anyone think it still may be worth while to get or does anyone know if/when an '07 API book will be available. Thanks

Part and Inventory Search