Changing parameter in form unintentionally starts a rule!?

Changing parameter in form unintentionally starts a rule!?

Anonymous
Not applicable
401 Views
2 Replies
Message 1 of 3

Changing parameter in form unintentionally starts a rule!?

Anonymous
Not applicable

I have built a Part template file for a standard section which uses a form to set all the dimensions for the section then has a rule that is run to create a drawing and a dxf file. All works OK but at some stage something has changed where now, when I open the form and edit the parameters for the part it automatically triggers the the rule which enables saving of the part and output of the DXF file with some notes for CAMDuct. 

I have checked that there are no iTriggers or anything happening. I have attached the part and drawing templates. This is driving me CRAZY....AHHHHH

Hope someone can help.

I have attached the part and drawing files. The form and rule that I am working on are both in the .ipt file.

Cheers

Richard

0 Likes
Accepted solutions (1)
402 Views
2 Replies
Replies (2)
Message 2 of 3

MechMachineMan
Advisor
Advisor
Accepted solution

There's some functionality where the rule where fire if you use "direct" iLogic parameter calls.

 

The fix is to change how your parameters are called in the rule (ie; using Parameter("Length")), or change the rule options to not fire immediately.

 

https://knowledge.autodesk.com/support/inventor-products/learn-explore/caas/CloudHelp/cloudhelp/2016...

 

 

Capture.JPG


--------------------------------------
Did you find this reply helpful ? If so please use the 'Accept as Solution' or 'Like' button below.

Justin K
Inventor 2018.2.3, Build 227 | Excel 2013+ VBA
ERP/CAD Communication | Custom Scripting
Machine Design | Process Optimization


iLogic/Inventor API: Autodesk Online Help | API Shortcut In Google Chrome | iLogic API Documentation
Vb.Net/VBA Programming: MSDN | Stackoverflow | Excel Object Model
Inventor API/VBA/Vb.Net Learning Resources: Forum Thread

Sample Solutions:Debugging in iLogic ( and Batch PDF Export Sample ) | API HasSaveCopyAs Issues |
BOM Export & Column Reorder | Reorient Skewed Part | Add Internal Profile Dogbones |
Run iLogic From VBA | Batch File Renaming| Continuous Pick/Rename Objects

Local Help: %PUBLIC%\Documents\Autodesk\Inventor 2018\Local Help

Ideas: Dockable/Customizable Property Browser | Section Line API/Thread Feature in Assembly/PartsList API Static Cells | Fourth BOM Type
Message 3 of 3

Anonymous
Not applicable

Thanks Justin,

Talk about rookie mistake!! I assumed this was the default. Ahhh...Thanks for picking it up so quickly. I can finish this rule now ...and move on to the next.!

Regards

Richard

0 Likes