Page 1 of 1

Subscripts..

Posted: Wed Mar 24, 2004 10:13 am
by mruud
I have a model with two subscripts, Type and Object. Then I have a subscripted constant TypeValue[Type] and a subscripted constant ObjectType[Object]. The values in ObjectType shows back to the index of Typevalue. How can I fill up the auxiliary ObjectValue[Object] with values from TypeValue based on the index in ObjectType[Object]?
Model attached (db1.mdl)

Morten

Posted: Wed Mar 24, 2004 10:53 am
by Owain
Morten,

this is the way I do it (see attached model). If there is anyone out there with a more elegant method, then please post it here!

Thanks

Posted: Wed Mar 24, 2004 12:59 pm
by mruud
This was just what I where looking for. Thank you!
Morten