Ok over the last year I have implemented the use of iLogic using internal rules in our templates that prompt users to fill out the correct iProperties along with many other things however as we continue moving forward we are finding small problems that I continue to tweak however those tweaks dont show up in the files already created. So I was thinking of programming the templates with external rules so that once implemented anytime I make a change the change is global. Can anyone comment on this and whether or not I can use external rules to fill out iProperties, change parameters and so on.
For example here is how our assembly template works
User selecets the Standard.IAM from templates
once the new file is open they click the "iTrigger" button to prompt the iLogic Form (User Interface *see attached picture*)
The first thing they have to do is select the type of Assembly for this new assembly
Based on this selection the iProperty fields that need to be filled out are Enabled on the form for the user to input the information
It is these iProperty fields that fill out the B.O.M.s and title blocks which then the B.O.M.s are exported to excel and sent off to the purchaser so they can order the neccessary purchased items for the job. Which is why I need to make sure template updates are global so that when I make a change all the content in our purchased components library (which is a directory on our server that is filled with all kinds of items from SMC, Reid, McMaster Carr, etc) receive these updates so users dont need to re import these items with the new template every time I make a change.
Clear as mud right? 🙂
Thank you
HI there,
Did you try? 🙂
That would be the simplest, just write some very basic stuff and see if it works ok.
I created an external rule that sets the Part Number of the file and it worked fine when a new document was created using the template I made which had its "New Document" event set to that external rule:
<extrule>
iProperties.Value("Project", "Part Number") = ThisDoc.Document.DisplayName
</extrule>
So if I understood correctly what you want, then yes, that seems possible.
Cheers,