Inventor Customization

Reply
Valued Mentor
Gruff
Posts: 431
Registered: ‎11-24-2003
Message 1 of 2 (301 Views)

VBA automation of iLogic External Rule Fails.

301 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?

Employee
MjDeck
Posts: 957
Registered: ‎02-24-2009
Message 2 of 2 (284 Views)

Re: VBA automation of iLogic External Rule Fails.

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.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor

Twitter

Facebook

Blogs

Pinterest

Youtube