Autodesk Inventor Customization
Reply
Topic Options
- Start Article
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
VBA automation of iLogic External Rule Fails.
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
225 Views, 1 Replies
03-21-2011 10:52 AM
VBA automation of iLogic External Rule Fails.
Error says cannot find the External Rule in the current Document.
Is there some way I can tell the iLogicAuto.Getrule(doc, "RunDll_Test") method that the rule is external and not inside the current document?
Re: VBA automation of iLogic External Rule Fails.
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
03-24-2011 08:30 AM in reply to:
Gruff
The GetRule function will only work on internal rules.
Do you want to run the external rule? If so, use the function:
iLogicAuto.RunExternalRule(doc, fileName)
fileName can be a relative or absolute path name.

Mike Deck
Software Developer
DLS - Mechanical Design
Autodesk, Inc.
