Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Maxim-CADman77
570 Views, 2 Replies

Fail to get textual names of Browser Node types with ToString in iLogic

I'd like to know how can I get textual names for types of Browser Nodes presented in Part's browser (Model Tab).

When I add "ToString" after the Type query I still get numeric value like:

BrwsrNodeType_ToString_Issue.png

The iLogic code I'm using is:

Dim oIPT As PartDocument=ThisDoc.Document
Dim MsgBody As String
For Each oNode In oIPT.BrowserPanes("PmDefault").TopNode.BrowserNodes
	If oNode.Visible Then
		MsgBody &= oNode.BrowserNodeDefinition.Label & vbCrLf
		If Not oNode.NativeObject Is Nothing Then
			MsgBody &= "       Type : " & oNode.NativeObject.Type.ToString & vbCrLf
		End If
	End If
Next
MsgBox (MsgBody,,"Node types are:")
Exit Sub

The issue described was reproduced in Inventor 2020.2.1

Please vote for Inventor-Idea Text Search within Option Names