Hi,
i use this code in a small form:
MultiValue.List("Material")=iProperties.Materials'
iProperties.Material=Material
iProperties.Value("Custom", "Material")=Material
that works fine, the material change is correct.
But if i change the material from the apperentice browser my iLogic form displays only the material from fxParameter, means
there is no update.
How can I fix this?
thx
Michael
Solved! Go to Solution.
hi!
I dont have a same version of inventor, but i think the problem is this line of code? delete them
iProperties.Material=Material
Hi,
yes i added triggers. I attached the document and a document with screenshots.
If i change the material from browser, my iLogic displays the former material. I think i need to update the fxParameter but how?
(sorry for my bad english)
MultiValue.List("Material") = iProperties.Materials
MyMaterial = Material
iProperties.Value("Custom", "Material") = MyMaterial
iProperties.Material = MyMaterial
iLogicVb.UpdateWhenDone = True
Hi,
thx for your quick help. That works not bad but:
now i'm only able to change the material from my iLogic or fxParameter. Not in phys. Property and not in
Material browser.
How can i fix it that i can change the material everywhere?
I know what you mean, do it in this way or do it in the other way but not mix it !?
We use the form to make all necessary iProperty inputs (20) and change the material in one way. In the form we display also the
weight, so we change the material if we get the correct weight.
When the input is done sometimes it happens that someone has to change the material without the form (its faster), or we have to
control the physiks, so we change the material in the iProperty.