Form will not update parameters

Form will not update parameters

Smyth_eric
Contributor Contributor
585 Views
5 Replies
Message 1 of 6

Form will not update parameters

Smyth_eric
Contributor
Contributor

my limited ilogic knowledge is giving me trouble with creating this part. I am trying to build a flange to have a list of "standard" flange sizes and an option to input custom values to create the flange. the "standard" sizes work just fine using the pull down list in the form. But, imputing the "custom" values in the form does not change in the parameters dialog box. If I change the numbers in the parameters window, it will change the model. I think the rule and inserting a parameter into another is creating this. I cannot figure out how to fix it. Any help would be greatly appreciated.

0 Likes
Accepted solutions (1)
586 Views
5 Replies
Replies (5)
Message 2 of 6

gcoombridge
Advisor
Advisor
Accepted solution

@Smyth_eric a couple of points about the model:

  1. Your form has custom iproperty fields instead of parameters. Change them to parameters and they will work.
  2. Rule called 'custom flange' I would just directly reference the parameters as below:

image.png

Case "CUSTOM"
	FLANGE_OD = FLANGE_OD2
	FLANGE_ID = FLANGE_ID2
	FLANGE_BC = FLANGE_BC2
	HOLE_DIA = HOLE_DIA2
	NUMBER_OF_HOLES = NUMBER_OF_HOLES2
	THICKNESS = THICKNESS2

Replacement file in 2021 attached...

Use iLogic Copy? Please consider voting for this long overdue idea (not mine):https://forums.autodesk.com/t5/inventor-ideas/string-replace-for-ilogic-design-copy/idi-p/3821399
Message 3 of 6

Smyth_eric
Contributor
Contributor

I see, thanks for the information.

0 Likes
Message 4 of 6

MarceloDeTomasi6989
Advocate
Advocate

Hi gcoombridge, I have a similar problem as you describe and in the form, I can not change Misc-behavior ReadOnly (True) to no, so I can edit in the form to finally control the sketch. How do you change the iProp field to parameters?

MarceloDeTomasi6989_0-1656385756726.png

MarceloDeTomasi6989_1-1656385798317.png

 

0 Likes
Message 5 of 6

A.Acheson
Mentor
Mentor

Hi @MarceloDeTomasi6989 

In your case you are trying to drive a linked child/sub assembly parameter which cannot be achieved by the approach you take.

AAcheson_1-1656875640866.png

 

 

The linked child parameter is like one way traffic with information flow only from child to parent. To change the approach you can drive the child parameter directly from the top level assembly by ilogic rule. This has the same effect as opening the child and modifying the parameter. 

 

AAcheson_0-1656875131613.png

 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
Message 6 of 6

MarceloDeTomasi6989
Advocate
Advocate
Hi Alan, thanks for the tip. It did work as I wrote a rule to control the parameters on the child from the parent. Works well with a simple form. Cheers. Marcelo