Inventor Customization

Reply
Contributor
Posts: 20
Registered: ‎06-26-2012
Message 1 of 3 (315 Views)
Accepted Solution

ilogic form trigger

315 Views, 2 Replies
11-29-2012 03:18 PM

I have a ipt which is controlled via an ilogic form,this form is opened by ilogic code, which in turn is triggered when the ipt is opened.

my problem is when the part is placed within an assembly the said form is triggered and the same happens when the assembly is reopened!.... I would prefer if the form opened only when the ipt is opened or edited.... 

Is there a snippet of code for this? Or is it even possible?

Mentor
MegaJerk
Posts: 249
Registered: ‎01-26-2011
Message 2 of 3 (295 Views)

Re: ilogic form trigger

11-30-2012 06:25 AM in reply to: Fleagle8t

Try the following code in the rule file that is being opened on open : 

 

Dim CurrentDoc as PartDocument = ThisDoc.Document  
If (Not (CurrentDoc Is ThisApplication.ActiveDocument)) Then Return
--------------------------------------------------------------------------------------

If my solution seems to remedy your problem, please press the Accept Solution button, -
as it increases my power levels and will eventually help to elevate me towards outer space.

Check out my iLogic injection tool here : http://goo.gl/ce1Qg
--------------------------------------------------------------------------------------
Contributor
Posts: 20
Registered: ‎06-26-2012
Message 3 of 3 (246 Views)

Re: ilogic form trigger

01-12-2013 12:24 AM in reply to: MegaJerk

Works at treat, thanks MegaJerk. :smileyhappy:

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 interested in helping shape the Autodesk Community?
We’re looking at a few different ways to improve the “All Forums” landing page and need your feedback! If interested, please take a few minutes to fill out the following Usability Study. Thank you for your time!

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