Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X
Hi Guys,
I want to rename the part file ( current active ) after update using VB.net.
I have searched in vbug.pdf and i try the bellow code but it show error.
Dim mdl as IpfcModel
mdl.rename("TSekl.prt","Orgskel.prt")
Please help me how to do and where i done mistake in my part.
Regards,
Balaji.S
Hi,
Did you load the source file in session of creo before you rename.
Alternative Save a copy or save as API can be work around.
regards,
kishore
Hi Kishore,
I tried with that option but another issue should solve - instance name also should rename in family table.
Now, i am looking that issue also(family instance name) while renaming part file.
So, Simultaneously the script should work for both(part file and family instance rename).
If you know, Please tell me.
Thnks
Balaji.S