Yes, there does seem to be a problem with activating LODs in a hidden
document. Thanks for reporting this - I'll file it in our database.
As a workaround, you can open a new document with the desired LOD:
Sub OpenLOD()
Dim oDocOpenOptions As NameValueMap
Set oDocOpenOptions =
ThisApplication.TransientObjects.CreateNameValueMap
' Set the representations to use when opening the document.
Call oDocOpenOptions.Add("LevelOfDetailRepresentation", "All Components
Suppressed")
Dim oDoc As AssemblyDocument
Set oDoc =
ThisApplication.Documents.OpenWithOptions("C:\temp\Assembly1.iam",
oDocOpenOptions, False)
End Sub
Sanjay-