Hi all
Is it possible to have the model AREA (from iProperties) show under the user parameters?
I need it for a calculation that drive other parameters
Thanks
Solved! Go to Solution.
Solved by wimann. Go to Solution.
Sure thing. In the ribbon, go to Manage>iLogic>Add Rule. Name the rule as you desire.
In the dialog box type:
'
<yourparamname> = iProperties.Area
iLogcVb.UpdateWhenDone = True
'
You may have to run the rule manually or you can set an Event Trigger to run the rule under certain circumstances.
Hope this helps.
Hi Wimann
It is easy to do it with iLogic, I am however struggling to get the value as a user parameter:
Manage > Parameters > User Parameters
I would think that the snippet I provided would do just that. If your parameter was say... "PartArea" then in iLogic:
PartArea = iProperties.Area
I'm fairly certain that will push the area into a user param. However I'm not as sure about the units. Inventor has a unti for area (circular_mil) but I'm not sure how you could incorporate that into your equations.
I suppose that i can get improved..but, alway with iLogic, if there is not it create and push the parameter "AREA" and it update it whenever geometry change.
Admaiora
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.
Hi Wimann
Sorry, yes it does work, I tried it yesterday and for some reason I did not get the result I was hoping for, but thank you
@ Admaiora
Neat little trick, I'll store this in my box of tricks for future use