EPDM filename variable

Is there a way to create a variable in EPDM that will contain the filename and will always update?  I can create a variable that has the filename, but if I rename a file at the operating system, it doesn't update to the new filename.  SWX 2012 sp5, EPDM 2013.

SolidworksSolidworks Pdm enterprise Pdm
Answers 9
SF
SF 2013-11-05 Best Answer

I'm asking because I'd like to be able to do an AND search in the name field.  If I use !208464, 2*  I get everything that starts with a 2 including everything that starts with 208464.  I'd like to exclude 208464 from the results.  The variables operators would allow me to create the AND situation, but I cannot find a way to create a variable that always reflects the filename.

JG
JG 2013-11-05

Hi Karen, I would recommend using a Dispatch utility to perform the rename which would enable you to update the variable. Regards, Joy

SF
SF 2013-11-05

Is there someplace I can go learn how to create that dispatch utility?  I've had trouble finding instruction and examples.

JG
JG 2013-11-05

Hi Karen - Start with last years SolidWorks World proceedings... http://www.solidworks.com/sww/proceedings/proceedings-presentations.htm Regards, Joy

SF
SF 2013-11-05

I got it to work at the most basic level.  I have to figure out how to capture and replace the file extension, and build a better interface. 

Can I run dispatch as a specified user so that I can remove the rename rights except when you use this add-in?

Thank you. 

Karen

JG
JG 2013-11-05

Hi Karen, Watch this video to see how to restrict user access. http://www.youtube.com/watch?v=ZiVKXYcV2SM Joy

TW
TW 2013-11-05

Nice video!!! Really slick.

SF
SF 2013-11-05

Thank you. 

JG
JG 2013-11-05

Come to SolidWorks World - I'm doing a hands-on session for Dispatch :-)