Frame Generator Template & Linking?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I am attempting to automate building Frame Generator assemblies via use of templates.
Currently, I have two templates: The Master Frame.iam template and the Skeleton.ipt sketch template. I have developed a Triggered Rule that opens a Form when starting a new Frame and Skeleton. All this is working fine.
This image shows the Master Frame.iam Form with the Skeleton.ipt already assembled into the Master Frame.iam tempalate.
This image shows only the Skeleton.ipt Form and the Skeleton.ipt off to the right.
I currently have to start a new Master Frame and a new Skeleton for each design. I then place the New Skeleton.ipt into the assembly Grounded at the origin of the New Master Frame.iam. This is also working fine. However, the Parameters that populate the Drawing Title Block reside in the Master Frame.iam template. Yet, the driving dimensional Parameters reside in the Skeleton.ipt template. I have figured out how to Link the Master Frame.iam template Parameters to the Skelton.ipt template Parameters so that I would only need to enter the dimension and title block information in the Master Frame.iam Form.
Here is the challenge:
Links work explicitly on a file name. Since the Skelton.ipt points to the Master Frame.iam template by name, the Skeleton.ipt will not link properly on a New Master Frame.asm file. It only links to the Master Frame.iam template.
This image shows the Parameters of the Sketelon.ipt template. Notice that under the User Parameters, I have successfully linked the Master Frame Assy.iam (for discussion sake, I am using a more generic naming in this post).
How can I make that Link point dynamically to the new .iam name?
I would like to avoid using iLogic Rules to do this. However, that doesn't seem likely. Any suggestions and actual code would be very helpful.