spadazenon
Mechanical
- Mar 28, 2010
- 49
Hello everyone,
I would like to get the value to string for the Sheet_Metal_Material_Thickness of a Sheet Metal Part using NXOpen.
I am trying the following but with no luck:
For Each exp As Expression In exps
expression_name = exp.Description
index1 = expression_name.IndexOf("Thickness")
If index1 > 0 Then
hstring2=exp.RightHandSide.ToString
msgbox(exp.name & " = " & hstring2)
End If
Next
I don't know what Iam doing wrong.
Thank you
I would like to get the value to string for the Sheet_Metal_Material_Thickness of a Sheet Metal Part using NXOpen.
I am trying the following but with no luck:
For Each exp As Expression In exps
expression_name = exp.Description
index1 = expression_name.IndexOf("Thickness")
If index1 > 0 Then
hstring2=exp.RightHandSide.ToString
msgbox(exp.name & " = " & hstring2)
End If
Next
I don't know what Iam doing wrong.
Thank you