Parameters,iLogic and Forms

Parameters,iLogic and Forms

davorxxx
Enthusiast Enthusiast
401 Views
5 Replies
Message 1 of 6

Parameters,iLogic and Forms

davorxxx
Enthusiast
Enthusiast

Hello
What is the formula to align the police so that they are at the correct distance when I change
quantity of shelves, height of cabinets.
I can't seem to get that formula.
Thanks in advance for your help.

davorxxx_0-1677906907379.jpeg

 

0 Likes
402 Views
5 Replies
Replies (5)
Message 2 of 6

kacper.suchomski
Mentor
Mentor

Hi

If a parameter is to be dependent on others, then you must describe it in the form of an equation, not an absolute value.

 


Kacper Suchomski

EESignature


YouTube - Inventor tutorials | LinkedIn | Instagram

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


Message 3 of 6

johnsonshiue
Community Manager
Community Manager

Hi! I believe either the rule has to be changed a bit or the parameter expressions has to be changed. It should be doable but it is hard to comment further without seeing the files. Please feel free to share the files here.



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 4 of 6

davorxxx
Enthusiast
Enthusiast

Hi! I am sending the files here.

0 Likes
Message 5 of 6

johnsonshiue
Community Manager
Community Manager

Hi! The files are incomplete. But, I think I know what you are trying to do. I check the rule in the assembly. Here is the rule in your file.

 

Parameter("@Skeleton", "Panel_thickness")=Panel_thickness
Parameter("@Skeleton", "Shelf_QTY")=Shelf_QTY
Parameter("@Skeleton", "Distance_between_shelf") = Distance_between_shelf
Parameter("@Skeleton", "Width") = Width
Parameter("@Skeleton", "Height") = Height
Parameter("@Skeleton", "Depth")=Depth
RuleParametersOutput()
InventorVb.DocumentUpdate()

 

Unlike SWX, "@Skeleton" does not mean anything in Inventor. What you need to do is to place the skeletal part inside the assembly. Then replace the "@Skeleton" with the instance name of the skeletal part.

Many thanks!

 



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer
0 Likes
Message 6 of 6

davorxxx
Enthusiast
Enthusiast

Hi! I placed the skeleton part inside the assembly and changed the name.
But when I set any in the table FORMS (Cabinet) that I created
I want the height and quantity of shelves to be at the same distance inside the closet,
but I can't get it at all.
Thank you very much!

0 Likes