Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

Getting a MU attribute value

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
Solution
Solution
Accepted by topic author Lorenzo
‎11-24-2016 04:43 AM

Re: Getting a MU attribute value

try

@.getAttributeValue("yourAttributeName")

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


Re: Getting a MU attribute value

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