Run rule depending on previous file open

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi everyone,
I am trying to create a set of rules in my drawing template that will populate the drawing with views and dimensions based on the kind of part file that opened it. For example, if in my drawing template I have 3 rules, one called "Seal Sleeve", another called "Laby Sleeve" and another called "Carbon Sleeve", then I want it so that when I open the drawing template coming from the Seal Sleeve file, it will automatically run the "Seal Sleeve" rule.
There are some core goals here. One is to try and do everything in iLogic without having to begin creating an external application. Another is to try and preserve the ideal of having a single custom drawing template, instead of multiple templates for different parts. This is so that when we want to change the borders and title blocks, we can change our centrally located vault template once, and it will change on everyone elses computer.
Another thing that might be important is that currently, I have a button in my part template file that says "create drawing". This runs a rule that prompts the user to save, and then opens up the drawing template file. If anyone knows a way to pass the part filepath into the drawing, that would be swell.
Thanks,
Rohan