- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I thought I had a simple idea of creating a corrugated box (5 panel folder) with sheet metal. That works great. The lid is hinged and needs to be shown open on a packaging drawing. Since this package is also used in a lager carton, I need to also show the carton as closed. I am a contractor working for a company that is still using 2018. 2018 does not have Design States. Therefore, I have not figured out a way to show the same box as open or closed within the same model. The only thing that changes is the angle of the lid (-45 degrees for open and 90 degrees for closed). I created a form for ease of use:
So, I decided this needs to be two models. I link the "BOX_WIDTH", "BOX_DEPTH", "BOX_HEIGHT" parameters of the Open box to the "BOX_WIDTH_CL", "BOX_DEPTH_CL", "BOX_HEIGHT_CL" parameters of the Closed box. My iLogic script is updating the Closed box when I open that model. I also use "= BOX <BOX_WIDTH> X <BOX_DEPTH> X <BOX_HEIGHT>" in the "iProperties"/"Description" field. All this is working great:
The Issue:
I want to use these two files as a templates for many sizes in the future. When I use Copy Design from Vault, The Description parameters turn into static text. This field will no longer update when I change the size of the box. If I copy to a new number from outside of the Vault, my iParameters stay intact, but my Linked parameters of the Closed box always point towards the linked parameters of the original Open box design, and not the new Open box part number (file name).
Is there some iLogic file copy script that will also update either the "iProperties"/"Description" parameter fields, OR update the Linked file name to the new file name?
I am also open for suggestions on how to get two versions from the same file name without have two different files to exchange information.
Solved! Go to Solution.