• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

rename files in swpdm with dispatch

  • Thread starter Thread starter Michele1980
  • Start date Start date

Michele1980

Guest
Bye to all,

have recently installed professional version of pdm solidworks 2019
wandering on the internet I managed to write a dispatch to rename the files, but if I stick it to one part and to his table, both lose references one towards another because the files changed name, there is a way out?

Thank you.

Hi.

Michael
 
just so in a parametric software. to maintain references you have to use the rename of solidworks
 
Hi.

ok I understand, but through the pdm is not possible?
I would need to rename the files using a variable that I defined internally to the pdm and which is managed by the pdm. for me it is unthinkable in the design stage to think to rename manually according to a numerical progressive.
 
Yes! !
I copied from that, but I lose references after the rename of slddrw files...because I can't update external file references.
 
Something's not coming back.
the sldrw file contains references to other files, which therefore must be renamed correctly, but has no references read by other files, which means that if you brutally renounce the slddrw file nothing happens to any other file. slddrw file is the last ring of solid food chain
 
there is something strange, but in fact, rereading the link, I was doubted that I did not consider the "during state transition", because I wanted the user to do it by hand, before changing state to the file.

In fact, considering that only in check-in you can change the status, maybe it's just the check-in operation of the files that allows solidworks pdm to record them (the files) and map them even if after moving them folder or renouncing them... if it is correct by setting it just like the link that posted it should work everything...only that I can't try now and touch me waiting tomorrow.. .
I'm trying to make myself alive as soon as I get back on it, for the moment thank you...

Bye.
 
Hi.

I modified the dispatch and actually making the rename happen after the change of state ties are maintained, or almost....

for parts and assemblies I did not encounter problems, for drawings and their 3d to maintain references, you must first open the table and save, then references are restored.

Could someone tell me how to better configure disptach?

Thank you.

Hi.
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
Back
Top