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

How to update computed parameter

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
Logos_Atum
385 Views, 3 Replies

How to update computed parameter

Hello there,

 

I modelled a tray and now I want it to display the outer

dimensions but accept input for the inner dimensions.

 

I use iLogic to compute the outer dimensions, it works.

outerlength=Parameter("lengthload")+96

 

outerwidth=Parameter("widthload")+4

There is but one problem. As soon as I publish the asset

and change the inner dimension the value of outerlength

is not updated. Which code do i need to add to force an

update of the parameters value?

 

Any help is greatly appreciated!

 

P.S.: Has been added with no effect, I think I got it wrong

Parameter.UpdateAfterChange=True

 

 

Kind regards

 

Daniel

 

Dogs aren´t flammable.
3 REPLIES 3
Message 2 of 4
Blokkie862
in reply to: Logos_Atum

Heey Daniel,

 

Maybe this is possible with the line: Parameter.UpdateAfterChange = True. You can find it in the Edit rule screen,  on the left side under Document.

 

Place this at the top the top of your rule. Create an Event Trigger, this option is located below the iLogic Browser. Doubleclick on Any Model Parameter Change and add your rule there. The rule will be triggerd when you change a parameter and will be updated by the added line.

 

Hope this works for you!

 

Robbert

Message 3 of 4
Logos_Atum
in reply to: Blokkie862

Hi Robbert,

 

thanks! That worked quite fine 🙂

Hope you´ve been helped with

your asset issues too.

 

 

See you

 

Daniel

Dogs aren´t flammable.
Message 4 of 4
Blokkie862
in reply to: Logos_Atum

Glad it helped 🙂 Asset issue isnt solved yet unfortunately.

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

Post to forums  

Autodesk Design & Make Report