Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

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

Adding "DateCompleted" to existing SW files

Status
Not open for further replies.

woolly

Mechanical
Apr 7, 2005
85
Does anyone have a macro / API code for adding the DateCompleted to existing SW parts / assemblies. I can get it to add into new files by adding it to the custom properties in the templates. I've also added it to the custom properties in the Vault Admin tool.

The problem I have is PDMWorks won't populate the field in old files, it adds the DateCompleted field but doesn't fill it in.

SW gets the info of $PRP:"SW-Long Date" from the clock on your pc, but it's a limitation of the software at the moment.

We've looked into checking the files out of the vault and trying to add the custom property using Task Scheduler but there is a bug which isn't fixed until 2008 SP1.0 and were going to be on 2007 for a while longer.

Any ideas??

Thanks

Woolly

P.S You may be wondering wht I want to add the date completed to old data. The reason is to aid in achiving data that has been up-issued in the vault by using the date as a search. At the moment there is no way to search by date in PDMWorks or the Vault Admin tool.

SW2007 SP 5.0 64bit
Win XP x64
Dual Core 2.67 GHz
4Gb Ram
256Mb NVidia Quadro FX3500
 
Replies continue below

Recommended for you

Well, since you've got no answer yet, I'll provide a possible arrow to point you in a possible direction. Check out this Time Stamp print shortcut macro:


If may have methods you can use in the macro you evidently create to do your task.

Matt Lorono
CAD Engineer/ECN Analyst
Silicon Valley, CA
Lorono's SolidWorks Resources
Co-moderator of Solidworks Yahoo! Group
and Mechnical.Engineering Yahoo! Group
 
fcsuper, thanks for that but bot really what I'm looking for.

Woolly
 
fcsuper, thanks for that but not really what I'm looking for.

Woolly
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor