Getting filename after copy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am trying to push parameters from an assembly to a part.
I use the following code:
Parameter("3 Drawer Stack.ipt", "fin_end_switch") = use_fin_end
This works fine, except we use a 3rd party software to insert these assemblies into other assemblies and when this happens it changes the filename so the parameter no longer works.
Is there a way I can get the filename to update after the filename changes?
All I am trying to do is to not have to open the multipart file every time I want to make a change in the assembly. I was happy when I figured out the parameter function, but unfortunately it breaks when the filename changes after copy.
If I could somehow have the part name get the new file name and set that as a string that I could refer to in the parameter code, that would work.
I'm just now learning all of this iLogic, I apologize if this is basic knowledge.