Message 1 of 3
Run external rule on all open file

Not applicable
02-13-2019
06:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello, I am having trouble with a rule that would fire off an external rule to all all open files. It appears that it currently steps though each file visually, but fails to activate each file as it steps through each open file.
Dim oDoc As Inventor.Document For Each oDoc In ThisApplication.Documents.VisibleDocuments oDoc.Activate() iLogicVb.RunExternalRule("IPROPERTIES") InventorVb.DocumentUpdate() oDoc.Close Next oDoc