Hi everybody, this is my second topic upon that issue. The first one was here: http://forums.autodesk.com/t5/Autodesk-Inventor/iLogic-inputbox-only-decimal-value-with-coma-not-wit...
To resume the issue here, my problem is that I did, a couple of months ago, a part with a rule containing some input boxes. It worked without a bug and set it as a specific template, on Inventor 2012.
I tried to reuse it as a template without changing its rule on Inventor 2013. When the input box pops out and ask the value it needs, if I type "0.2" it says that "string's conversion "0.2" in a 'double' type isn't valid". But if I type "0,2" I have absolutely no problems.
And on the "more infos" tab, I can see that message:
"System.InvalidCastException: La conversion de la chaîne "0.2" en type 'Double' n'est pas valide. ---> System.FormatException: Le format de la chaîne d'entrée est incorrect.
à Microsoft.VisualBasic.CompilerServices.Conversions.ParseDouble(String Value, NumberFormatInfo NumberFormat)
à Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
--- Fin de la trace de la pile d'exception interne ---
à Microsoft.VisualBasic.CompilerServices.Conversions.ToDouble(String Value, NumberFormatInfo NumberFormat)
à LmiRuleScript.Main()
à Autodesk.iLogic.Exec.AppDomExec.ExecRuleInAssembly(Assembly assem)
à iLogic.RuleEvalContainer.ExecRuleEval(String execRule) "
I work on:
Windows 7
Autodesk design suite premium 2013 french.
Solved! Go to Solution.
Solved by MegaJerk. Go to Solution.
Thank you so much! THAT is THE answer that I needed!
What I discovered now is that with the french culture (fr-FR), the point isn't allowed. But I checked the other culture available, and I found tha there is the swiss french culture (fr-CH) wich is the suitable language, and with it, the point work! It was all about that. Now, i don't understand why by default, the french french (if I can call it that way) is set. But anyway it doesn't matter! Thank you really much!
You’re welcome! Also, the fr-FR should be set by default probably by what you have your Operating System (Windows in this case) set to. Cheers all around!
That's what's strange. The OS is set on swiss french. But anyway, it doesn't matter, I think we can close this chapter on a happy ending. Thank you again.