Announcements
Due to scheduled maintenance, the Autodesk Community will be inaccessible from 10:00PM PDT on Oct 16th for approximately 1 hour. We appreciate your patience during this time.
Community
Inventor Programming - iLogic, Macros, AddIns & Apprentice
Inventor iLogic, Macros, AddIns & Apprentice Forum. Share your knowledge, ask questions, and explore popular Inventor topics related to programming, creating add-ins, macros, working with the API or creating iLogic tools.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Auto renaming files

0 REPLIES 0
Reply
Message 1 of 1
ZoranGodar
28 Views, 0 Replies

Auto renaming files

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 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report