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

Hello, first one, thank you

 

i tried your latest code a i have this error

 

Erreur de règle: Règle0, dans le document 17005AFZM001Z0-001.iam

 

Paramètre incorrect. (Exception de HRESULT : 0x80070057 (E_INVALIDARG))

 

 

System.ArgumentException: Paramètre incorrect. (Exception de HRESULT : 0x80070057 (E_INVALIDARG))

à System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)

à Inventor.Documents.Open(String FullDocumentName, Boolean OpenVisible)

à LmiRuleScript.Main()

à Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)

à iLogic.RuleEvalContainer.ExecRuleEval(String execRule)