09-05-2023
04:50 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
09-05-2023
04:50 PM
The easiest approach here is to stabilize the occurrence name by renaming to a generic name that will become static. If you say your part number doesn't change then you can add a description and the part number. The main thing is that the occurrence name is unique. Now when you the file name changes the occurrence name won't. You have removed the out of the box occurrence renaming tool. Now in your code refer to the static occurrence name and your code will work.
See this article here it has a handy renaming code in case you have a lot to rename.
If this solved a problem, please click (accept) as solution.
Or if this helped you, please, click (like)
Regards
Alan
Or if this helped you, please, click (like)
Regards
Alan