Custom Property Writer

Modified on: January 21,2010  
Downloads: 3408  


Description:This macro was updated 1-21-2010 to make the code simpler. This macro in in response to a request. The request was for 2009 but I have 2010 so you will need to modify the references in VBA under tools-references to 2009 or start a new macro and copy and past the program. This macro fills in certain custom properties based on the filename of a part or assembly. For instance, the first four characters of the filename are saved as the custom property "Project Name". The first 15 characters are saved as the custom property "drawing number", all the characters after the 16th are saved as the part title, etc. The title is also added to the summery page.
    Precondition: A part or assembly is open and has been saved.
  Postcondition: Certain custom property fields are filled in based on the file name.
SOLIDWORKS version: 2009
Programming Language: SW_VBA


Macros might contain viruses or other security hazards. SOLIDWORKS Corporation has not verified that the macros posted on this site are safe and that they came from a trustworthy source.

Download the SOLIDWORKS Macro.


(Login required)  

Other contributions from this user

Parts & Assemblies




Garrett Brooks

User since: 7/27/2007
Title: Other
  Report Inappropriate User
Report Inappropriate Comment