Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. 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
