Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

model property (AREA) in user parameter

5 REPLIES 5
SOLVED
Reply
Message 1 of 6
Jacques.Grobler
1128 Views, 5 Replies

model property (AREA) in user parameter

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

5 REPLIES 5
Message 2 of 6
wimann
in reply to: Jacques.Grobler

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.

-Will Mann

Inventor Professional 2020
Vault Professional 2020
AutoCAD Mechanical 2020
Message 3 of 6
Jacques.Grobler
in reply to: wimann

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

Message 4 of 6
wimann
in reply to: Jacques.Grobler

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.

-Will Mann

Inventor Professional 2020
Vault Professional 2020
AutoCAD Mechanical 2020
Message 5 of 6
admaiora
in reply to: wimann

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.

_____________________________________________________________________________
Facebook | Twitter | Youtube

Message 6 of 6
Jacques.Grobler
in reply to: wimann

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report