Auto renaming files

Auto renaming files

ZoranGodar
Contributor Contributor
113 Views
0 Replies
Message 1 of 1

Auto renaming files

ZoranGodar
Contributor
Contributor

Hello everybody.

I'm curious if the following scenario is possible:

I want to run a script in the main assembly. The script needs to rename all parts and sub-assemblies based on the structure that I write in the popup menu. For example structure will be "ABC-S0001", this will be first sub-assembly and the last 4 characters can change automatically.

I have created (using ChatGPT) some script that does this but it creates new files. Instead of that I want to rename existing files and update those names to the root assembly. Something like Design Assistant does.

Can anybody review my code and give me some opinions?

0 Likes
114 Views
0 Replies
Replies (0)