2 Replies Latest reply on Oct 30, 2008 4:18 PM by Paul Philpott

    SolidWorks Custom Property takes value from filename

    Paul Philpott
      I have a Data Card with a variable Document Number, which I want to map to a SW custom property Document Number. Within SW Custom proprties window, I want for this property's "Value / Text Expression" to take its value from the file's filename (with the filename having been generated via the Template feature, using serial numbers).

      I assume that the syntax to accopmlish this would be something like, "SW-Mass@SW Part Template.SLDPRT".

      Of course the vaule I want would exclude the .sldprt exention. Any ideas?

      And wouldn't it be great if info like this was collected and centrally presented?