Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
nsheldonGGNEN
538 Views, 5 Replies

iLogic for Save and Replace within an assembly by part name

Hello All!

 

I'm wondering if someone can help me with some iLogic code. Basically I want to perform the "Save and Replace" fuction within an assembly, but via iLogic. I'd like the code to be able to find a part within an assembly by name, say "cube.ipt", and save a copy of cube.ipt using a filename I've already generated earlier in the code, say "my_custom_name.ipt", and then replace cube.ipt with my_custom_name.ipt in the assembly.

 

If this isn't possible, perhaps code that at least can save a copy of a given part? I can always replace a component but I need to generate the copy first.

 

Any advice is greatly appreciated. Thanks!