Ok if you want the expression values below is a portion of the relevant code
Dim expValues(-1) As String
response = select_feature(feat)
ufs.Modl.AskExpDescOfFeat(feat.Tag, noExps, expdescstrings, _ exptags)
For i As Integer = 0 To noExps - 1
exp = NXObjectManager.Get(exptags(i))
ReDim Preserve expValues(i)
expValues(i) = exp.RightHandSide
Next
Dim multiline_string0Props As PropertyList = _ multiline_string0.GetProperties
multiline_string0Props.SetStrings("Value", expValues)
The differences from the code you had are:
1) For the expression values you need to ask for the RightHandSide
i.e. expValues(i) = exp.RightHandSide
2) Since features may have different number of expressions therefore we need to read the expression values into a string array. The relevant code is:
Dim expValues(-1) As String
For i As Integer = 0 To noExps - 1
exp = NXObjectManager.Get(exptags(i))
ReDim Preserve expValues(i)
expValues(i) = exp.RightHandSide
Next
3) You need to create a PropertyList and set the multi line string using:
Dim multiline_string0Props As PropertyList = _ multiline_string0.GetProperties
multiline_string0Props.SetStrings("Value", expValues)
Hope this helps.
Frank Swinkels