Unfortunately it still does not work.
Enclosed is the iLogic Log
INFO| 1: >>---------------------------
TRACE|Entering rule: unsuppress_all (in Assembly_test_suppress.iam)
ERROR|Error Unsuppressing component named Part2-circle_green:1
Unknown error (Exception from HRESULT: 0x80004005 (E_FAIL))
at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
at Inventor.ComponentOccurrence.Unsuppress()
at ThisRule.RecurseComponents(ComponentOccurrences oComps) in C:\Users\admin\AppData\Local\Temp\iLogic Rules\Assembly_test_suppress.iam.unsuppress_all.vb:line 21
ERROR|Error Unsuppressing component named Part3_polygon_green:1
Unknown error (Exception from HRESULT: 0x80004005 (E_FAIL))
at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
at Inventor.ComponentOccurrence.Unsuppress()
at ThisRule.RecurseComponents(ComponentOccurrences oComps) in C:\Users\admin\AppData\Local\Temp\iLogic Rules\Assembly_test_suppress.iam.unsuppress_all.vb:line 21
ERROR|Error Unsuppressing component named Part2-circle_green:1
Unknown error (Exception from HRESULT: 0x80004005 (E_FAIL))
at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
at Inventor.ComponentOccurrence.Unsuppress()
at ThisRule.RecurseComponents(ComponentOccurrences oComps) in C:\Users\admin\AppData\Local\Temp\iLogic Rules\Assembly_test_suppress.iam.unsuppress_all.vb:line 21
ERROR|Error Unsuppressing component named Part3_polygon_green:1
Unknown error (Exception from HRESULT: 0x80004005 (E_FAIL))
at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
at Inventor.ComponentOccurrence.Unsuppress()
at ThisRule.RecurseComponents(ComponentOccurrences oComps) in C:\Users\admin\AppData\Local\Temp\iLogic Rules\Assembly_test_suppress.iam.unsuppress_all.vb:line 21
TRACE|Exiting rule: unsuppress_all (in Assembly_test_suppress.iam)
.
I have attached a test assembly (Test_Suppress.zip )
Currently I am analyzing a problem with Vault and suppressed components ( Link ).
For me, it would have been helpful if I could have restored all suppressed components.
The procedure with the Model States is also an option. If there is no other way, we will adapt it for existing assemblies.