Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Search results for query: *

  1. DMichaels

    SheetFormatVisible in VB - 2004

    I have tried the macro record method. I have created macros to turn on and turn off the sheet format. They error on the line : Part.SetupSheet4 "Sheet1", 12, 12, 1, 1, False, "C:\Program files\SolidWorks\data\Templates\belcan\a3paper.slddrt", 0.42, 0.297, "Default", False
  2. DMichaels

    SheetFormatVisible in VB - 2004

    I would like to turn off my sheet formats before doing a save as DWG. I am having trouble getting the sheet.sheetformatvisible property to work in VB. Would someone please show me how a VB program that would just do this one thing would like ? By the way, this appears to be a new property for...
  3. DMichaels

    SW 2004 Office - eDrawings not installed

    Would the download version be the Pro version, as we should have available with Office ? Will it require a serial number to run as Pro ?
  4. DMichaels

    SW 2004 Office - eDrawings not installed

    My problem is that the eDrawings icon in the Office toolbar is grayed out and does nothing. All the other Office icons are ok. EDrawings is not listed under Addins. There also is no "Publish to eDrawings" under the File menu. Is there a way to re-install eDrawings Pro ? I have installed...
  5. DMichaels

    Read $PRPSHEET value with VB6 ?

    Bradley; Thanks for reply. I'm not sure where the difference is in your suggestion. Do mean the part.custominfo will work, whereas part.custominfo2 (as in my example) does not work ? I suspect my problem is in the "Set Part = swApp.ActiveDoc" area, because I think this information is...
  6. DMichaels

    Read $PRPSHEET value with VB6 ?

    How can I read a $PRPSHEET value in VB6 ? I have tried the following without success: ---- Set swApp = CreateObject("SldWorks.Application") Set Part = swApp.ActiveDoc Customer_string = "$PRPSHEET:" & Ch(34) "Customer_dwg_name" & Chr(34) Customer_dwg_name =...
  7. DMichaels

    Edrawings using API

    The problem could be handled by providing a means to 'saveas' html within Solidworks. Then the Solidworks API could be used to create a batch program. This would seem to be easier than providing an entire API for eDrawings. Don Michaels
  8. DMichaels

    Edrawings using API

    Mike; Did you ever find an API/VB for eDrawings ? I need to create HTML files in batch mode also.
  9. DMichaels

    Test for file open by another app ?

    DimSH; I want to thank you for the tip. Nobody else was willing to try this one, but you were ! Although I think it's a little risky to be deleting Soldworks files while someone has them open, you were the only one that responded. Thanks again. Don Michaels
  10. DMichaels

    Test for file open by another app ?

    Is there an easy way to test to see if a file is currently open by another application ? I am working on a VB project that requires the file to not be open before I access it. (I am using DSOFile (from Microsoft) to access document properties)
  11. DMichaels

    Unhide & Resolve all subassy's and parts ?

    We are creating large assemblies with many subassemblies. Is there a way to un-hide and resolve all of the subassemblies and parts easily ? I have used a 'new configuration' and checked on "New Configuration Showing All Referenced Models" and given it a new name. This works partially...
  12. DMichaels

    Filename stamp on print ?

    Netshop21; Thanks for tip. Yes, we are doing this as well. It works great for drawings, but for part and assembly models, the variable driven note, although it works, it is inconsistant (for example, where did it go...?) . I have added the info to our footers on the asmdot and prtdot files. This...
  13. DMichaels

    Filename stamp on print ?

    Yes, that is more like it. This will be much more consistent than the note and variable technique. Too bad it doesn't allow for full path names. Now I need to figure out how to set this for everyone. I'll first try the standard templates. Or, maybe I'll be able to find it in the registry and...
  14. DMichaels

    BOM with non-driven columns ?

    Andrew; Sorry about that. GREAT TIP, ANDREW ! I put the "partno" hidden column to the right of the quantity column. Works great. Thanks,Don.
  15. DMichaels

    BOM with non-driven columns ?

    Scott; Wow, that "partno" variable column is important. Thanks for the tip. I will add it back into my custom BOMs. Things just don't work right without it, for example the quantity doesn't work. Don.
  16. DMichaels

    BOM with non-driven columns ?

    Scott; Thanks. Your suggestion with the configurations for finish and stock sizes is interesting. I am little concerned that it might add a lot of complexity to my VB custom properties editor. And I'm not sure if my users want to use configurations that much for simple parts. However, I will...
  17. DMichaels

    BOM with non-driven columns ?

    Andrew; That is a good idea to add a custom property for stock size. I will talk to the mechanical designers about that. I will also experiment with adding the 'partno' column back into the excel spreadsheet. I have created my own VB custom properies editor last week, but thanks for the offer...
  18. DMichaels

    BOM with non-driven columns ?

    Scott; Why use a non-driven BOM ? Some of my users want to have a BOM with stock sizes that are different than the finished part sizes used in the model, as in weldments, etc.
  19. DMichaels

    BOM with non-driven columns ?

    Yes, you are right. That works well. Thank you.
  20. DMichaels

    BOM with non-driven columns ?

    Is it possible to insert a BOM in which the columns are not driven from a variable, but can simply be edited manually ? I have created such a BOM spreadsheet that inserts just fine and allows editing. However, after entering the text in the cells and closing the edit window, all of the rows...
Back
Top