Message 1 of 3
Not applicable
05-04-2016
12:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to get a drawing document to open up and run a rule by using an external rule but I can't find anything showing how to do that. I thought it would be a simple "open this document and run this rule" but its not turning out that way. Here is what I'm using for my external rule
SyntaxEditor Code Snippet
ThisApplication.Documents.Open("C:\Users\mine\Desktop\My File\Assembly1.dwg") iLogicVb.RunRule("FIRST")
When I first run the external rule it opens the drawing and then says it can't find the internal rule. BUT with the drawing file still opened, if I run the external rule again, it will run the internal rule like its suppose to.
I'm new to ilogic and still getting it down so sorry in advance. Also I'm using Inventor Professional 2015
Solved! Go to Solution.