'Call MsgBox("No rule named " & ruleName & " was found in the document. ORefDocs = oAsmDoc.AllReferencedDocuments Events list Displays the events for which rules can be triggered: New Document fires when a document is created from a template. Run these rules when events occur Enables or disables the rules for the events in the list. I found this bit of code which seems to be along the right lines, only it searches for a specific rule name in each document, rather than running all active rules in each document. Access: Ribbon: Manage tab iLogic panel Event Triggers. Is there a way of modifying the code so that it carries out a 'Run all Rules' command in the assembly once its opened? At the moment I am having to open many sub-parts of this assembly also and define each of their rules by name.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |