Message 1 of 12
Exception from HRESULT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I get the error message "Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))" when running the following iLogic snippet. Can anyone please help me?
Dim oAsmDoc As AssemblyDocument = ThisDoc.Document Dim oAsmCompDef As AssemblyComponentDefinition = Nothing oAsmCompDef = oAsmDoc.ComponentDefinition Dim oOcc As ComponentOccurrence For Each oOcc In oAsmCompDef.Occurrences If oOcc.Visible = False Then oOcc.Definition.BOMStructure = BOMStructureEnum.kPhantomBOMStructure End If Next