Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Search results for query: *

  1. LFowler

    Probably a silly macro question with a simple answer

    Thanks Deepak, I changed part of the For statement to better select what I needed. Also, I think some of the j's were supposed to be i's in your code, at least that worked for me. For i = 0 To nNbrProps - 1 swCustPropMgr.Get2 vPropNames(i), valOut, resolvedValOut If...
  2. LFowler

    Probably a silly macro question with a simple answer

    I'm sure this problem has a simple solution, I just don't write code, hence: The code below *works* but I am looking for something a bit more elegant. Basically the macro runs through the custom properties to see what revision the drawing is on. The property that decides the revision is named...
  3. LFowler

    How to reload custom properties?

    I threw together a macro to delete custom properties from a drawing which I put below. My problem is that although the macro works, the 'Custom Properties' tab on the side does not update automatically. I've taken a look at other macros similar to mine in fuctionality, but none actually solve...
  4. LFowler

    Exporting a BOM

    Thanks for the response but unless I'm missing something this macro doesn't seem to grab the data from hidden columns.
  5. LFowler

    Exporting a BOM

    So I have a BOM that needs to be saved as a .csv file. I would like to hide some columns in the BOM while they are in the drawing. The problem is that when I export the BOM the hidden columns are just empty fields. How can I export all of a BOM's data when it has hidden columns? or Is there a...
  6. LFowler

    Need help with a macro to fill out configuration properties

    Here is my crude macro, it gets the job done: Dim swConfMgr As SldWorks.ConfigurationManager Dim swConfig As SldWorks.Configuration Dim swModel As Object Dim PartNum As String Dim PartName As String Dim dash As Integer Dim descrip As String Dim partedit As Boolean Dim dispstate As Boolean Sub...
  7. LFowler

    Need help with a macro to fill out configuration properties

    I am trying to create a macro for solidworks that will pull some information out of the file name and put it in the configuration properties. So far I can parse the name fine as well as change some of the fields within the properties, but a few of them are giving me some trouble. Mostly the...

Part and Inventory Search