Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Windows File Custom Properties list utility 1

Status
Not open for further replies.

ShaggyPE

Mechanical
Sep 8, 2003
1,127
US
Anybody have a utility that can generate a list of which files (in a given directory) do not have a certain custom property?
Example:
I have a custom property called SP:DOC_NR and want to know which files in the directory are missing this property.

I have zero capability to write the utility myself. It is possible for me to write (moreso hack/slash) a macro within the native application (SolidWorks mechanical design software) that will do what I want, but this will be significantly slower because it will open each file and then look for the property. Also, why re-invent the wheel. Any help is appreciated. Thanks.



-Dustin
Professional Engineer
Certified SolidWorks Professional
 
Replies continue below

Recommended for you

handleman,
Thanks again for the help. I have attempted to run your SW macro and I get a runtime error 429. When I go in and debug, the hi-lited line is regarding the DSO-thingy. Your zip file contained the .swp file and the .dll. Do I need to put the .dll somewhere special?

Thanks again.

-Dustin
Professional Engineer
Certified SolidWorks Professional
 
You have to put the DLL file somewhere and then tell Windows where it is. To do that, go to Start->Run and enter:

regsvr32 "C:\Whatever\The\path is\to where\you\put\it"

-handleman, CSWP (The new, easy test)
 
Do you have a recommendation as to where I should put it? Should I just leave it in my folder with all of my SolidWorks Macros? Or should I put it in some windows system type folder?

Thanks again.

-Dustin
Professional Engineer
Certified SolidWorks Professional
 
handleman,
Two stars for you. You are the man. CSWP easy test or not (lol). Thanks again.

-Dustin
Professional Engineer
Certified SolidWorks Professional
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top