Hello again,
I cant find out how to get name of selected feature from UI Block styler. I have a block SelectPattern As NXOpen.BlockStyler.SelectFeature and I want to get name of this feature and use it for something. For example
Dim lw As ListingWindow = theSession.ListingWindow
Dim SelectPatternProps As PropertyList = SelectPattern.GetProperties()
Dim pattern0 As String = SelectPatternProps.GetString("Cue")
SelectPatternProps.Dispose()
SelectPatternProps = Nothing
lw.Writeline("Feature name: " & pattern0)
Of course, this code just find name of selected block, but how can combine it with .GetFeatureName? I also tried something like this, but with no succes:
Dim SelectPatternProps As String = SelectPattern.ToString()
lw.Writeline("Feature name " & SelectPatternProps)