Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! 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