Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

I actually found an even better solution to check if the Active LOD current Browser Node exists, using this:

https://forums.autodesk.com/t5/inventor-customization/how-to-copy-a-level-of-detail-to-a-design-view...

 

Dim asDoc As AssemblyDocument = ThisDoc.Document
aComp = asDoc.ComponentDefinition

'Position der Detailgenauigkeit erfassen
Dim ActLOD As String = aComp.RepresentationsManager.ActiveLevelOfDetailRepresentation.Name

Dim LODact As LevelOfDetailRepresentation = aComp.RepresentationsManager.ActiveLevelOfDetailRepresentation
LODrep = aComp.RepresentationsManager.LevelOfDetailRepresentations
'Dim Str As String

Dim oLODRep As LevelOfDetailRepresentation = asDoc.ComponentDefinition.RepresentationsManager.LevelOfDetailRepresentations.Item(ActLOD)
	  
'  asDoc.BrowserPanes.Item("Model").Activate
  
  Dim oNativeBrowserNodeDef As NativeBrowserNodeDefinition 
  
  Try 
  oNativeBrowserNodeDef = asDoc.BrowserPanes.GetNativeBrowserNodeDefinition(oLODRep)
  MsgBox(ActLOD & " | " & "Aktiv vorhanden")
Catch 
	MsgBox(ActLOD & " | " & "Aktive nicht vorhanden")
End Try