Access parameters of components with models states at assembly level

Access parameters of components with models states at assembly level

vmat8888
Enthusiast Enthusiast
216 Views
1 Reply
Message 1 of 2

Access parameters of components with models states at assembly level

vmat8888
Enthusiast
Enthusiast

Hi,

 

I am trying to change parameters of components in an assembly, using iLogic and user parameters in assembly, to control values of parameters in components, with different models states.

For example, I have a user parameter, "Strut_Lenth", in assembly and I try to control "Lenth" parameter in one component with different model states, BUT NOT FOR "LENTH". The "Length" value in component is the same for all its different model states, but I need to be able change it at the assembly level.

I tried the two lines of code below, but both give me errors. I would appreciate your help.

Thank you.

Parameter("Slotted Strut:1", "Lenth") = Strut_Lenth
Parameter("Slotted Strut:1","
Model State1", "Lenth") = Strut_Lenth

 

0 Likes
217 Views
1 Reply
Reply (1)
Message 2 of 2

vmat8888
Enthusiast
Enthusiast

Sorry, typo mistake (see below). The question of course, still stands. Thank you.

 

Parameter("Slotted Strut:1", "Length") = Strut_Length
Parameter("Slotted Strut:1","
Model State1", "Length") = Strut_Length

 

0 Likes