Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Anonymous
2983 Views, 17 Replies

iLogic Create Copies To Network Library Folder With Unique Part Number Counter

Hello, I am looking for help to achieve the following.

On a network share there is a libraryfolder with subfolders filled with parts, from which we want to make copies into our working/project folder. The parts in the library are always like <code>_<6digitnumber>.ipt (ex: THYU_985236.ipt)

The copied parts in our projectfolder needs to stay unique, so after the partnumber there needs to be a counter added (ex: : THYU_985236_001.ipt, THYU_985236_002.ipt, THYU_985236_003.ipt)

 

The iLogic code needs to:

- ask for a 6 digit number.

- look for the part on the networkshare. (exit if it don’t exist)

- check if the file is already copied before (in the whole project folder .ipj & subfolders) and if so, modifies the COUNTER

- copy the part with the new filename to the folder where the active assembly resides

 

The copied parts need to be unique in the whole project, because they need custom properties which are unique tot the part (TAG Nr from P&ID)

Many Thanks!

kelly.young has edited your subject line for clarity: iLogic help