Submitted by nes386 on Mon, 07/21/2014 - 05:02
Forums:
I've tried variations on the syntax of getstringattribute
to retrieve an attribute of the "number" and "unitless" types. What's the proper syntax? The alternative is setting the value to a string going forward... would rather not go that route though. Thanks.
re: get integer attribute
If you are using NX 7.5, try the functions: GetIntegerAttribute or GetRealAttribute.
If you are using NX 8 or later, try the functions: GetIntegerUserAttribute, GetRealUserAttribute, or GetUserAttribute. Also, you can check for the existence of an attribute with the function HasUserAttribute.