- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi, thank you very much for reply and screen.
I still get an error :
System.Runtime.InteropServices.COMException (0x80004005): Erreur non spécifiée (Exception from HRESULT: 0x80004005 (E_FAIL))
at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
at Inventor.ComponentOccurrence.get_SubOccurrences()
at ThisRule.TraverseAssembly(ComponentOccurrences Occurrences, Int32 Level, String Name, String TemplateName, String scale, Double SpacingViews) in external rule: GEN DRAWING:line 28
at ThisRule.TraverseAssembly(ComponentOccurrences Occurrences, Int32 Level, String Name, String TemplateName, String scale, Double SpacingViews) in external rule: GEN DRAWING:line 28
at ThisRule.Main() in external rule: GEN DRAWING:line 9
at Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)
at iLogic.RuleEvalContainer.ExecRuleEval(String execRule)
If i remove the line "Dim AssyName As String = "framework:1" 'name of the SubAssy" it's work partially (i get error line 27 after 3/4 subassembly creating).
I double check the assyname, the template path ect. I don't know from what it come.
Thank you again