cancel
Showing results for 
Search instead for 
Did you mean: 

Getting a MU attribute value

Experimenter
Experimenter

Hi everyone, 

 

I´m working with a MU which has 3 different attributes defined by me (e.g. Quality, Mass, Volume, neverthless they could be 5-6 different attributes or more, it doesn´t matter). Every time a MU activate the method I have to get the value of 1 of these 3 attributes; the point is that the one I need to get changes time by time, according to what is written in a variable(called "Attribute", type string) belonging to the same frame.

 

If I write @.Attribute it does not recognize anything, I neither cannot write @.Quality, otherwise I would always look for the same attribute. 

 

Thanks for helping.

Lorenzo 

 

2 REPLIES

Re: Getting a MU attribute value

Phenom
Phenom
try

@.getAttributeValue("yourAttributeName")

Steffen Bangsow
freelance simulation specialist  
web: www.bangsow.eu
mail: steffen@bangsow.net


Re: Getting a MU attribute value

Experimenter
Experimenter

thanks a lot, actually the one that works was @.getAttribute( ), thanks for helping!!