Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

NXOpen: How to affect to a variable, an attribute value comming from a list value?

Status
Not open for further replies.

Pjone kenobi

Mechanical
Sep 19, 2018
44
Dear All,

I need your help:
I try to read an attribute value for writing into an excel file.
My problem is the value come from a value list.
See below my code, my attribute is TOTO, dp is my part and i is my index for FOR:

If attributs(i) = "TOTO" Then
info = dp.GetUserAttribute(attributs(i), NXObject.AttributeType.Reference, 0).StringValue
End If


do you have an idea?

Thanks for your help.

Best regards
PJ
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor