Just got this error in the attached ipt file:
Edit Rule
'', hexadecimal value 0x1F, is an invalid character.
This file was generated as a skeleton for using the frame generator. Can someone please have a look and see what the issue is? Running 2014.
Here's the printout under the 'more info' tab. This was the result of right-clicking the rules window , selecting 'New Rule' and accepting the default rule name 'Rule0'. Same result with any other name.
System.ArgumentException: '', hexadecimal value 0x1F, is an invalid character.
at System.Xml.XmlUtf8RawTextWriter.InvalidXmlChar(Int32 ch, Byte* pDst, Boolean entitize)
at System.Xml.XmlUtf8RawTextWriter.WriteElementTextBlock(Char* pSrc, Char* pSrcEnd)
at System.Xml.XmlUtf8RawTextWriter.WriteString(String text)
at System.Xml.XmlWellFormedWriter.WriteString(String text)
at System.Xml.Linq.ElementWriter.WriteElement(XElement e)
at System.Xml.Linq.XElement.WriteTo(XmlWriter writer)
at System.Xml.Linq.XContainer.WriteContentTo(XmlWriter writer)
at System.Xml.Linq.XDocument.WriteTo(XmlWriter writer)
at iLogic.Controls.SyntaxEditorControl.GetActiproSoftwareLanguageXmlStream()
at iLogic.Controls.SyntaxEditorControl.get_SyntaxLanguage()
at iLogic.Controls.SyntaxEditorControl.LoadLanguage()
at iLogic.Controls.SyntaxEditorControl.set_Text(String value)
at iLogic.EditRuleRunner.RuleModifyAndEval(ILmiRule ruleNodeDef, Boolean& cancelled)
Solved! Go to Solution.
Solved by MingweiGao. Go to Solution.
Solved by salariua. Go to Solution.
This was really weird. I got the same error when trying to edit your rule. I have tryied to add another and same problem.
I started a new part and recreated you sketches and parameters and got the same error.
I then renamed your parameter to something else and it worked. Rename shaft_height to something else, I don't know why but maybe this is a reserved name for Design Accelerator shafts
Yes, I have a look at your part and get the same results. But if I re-input Shaft_height in Fx table again, it works well. It seems related to the character. Do you have a try other characters?
Yeah, I deleted the user parameter, which I realised can only be done once any references to it have been removed from the other parameter lines. Got it working now but I still have no idea what the underlying issue is.
You should be able to rename the parameter, just by clicking inside the name in Parameters. This is just a display name and I am guessing it has a hidden unique "name" value that we can't change and that is used trough out the part. If you change the name (call it display name) it changes everywhere (inside ilogic rules as well) because it's being referenced by it's hidden name.
Thanks, I had the same issue, and same error. after renaming the first (of 30) parameter, it worked again. even after typing the same name again it worked...??!! verry strange! (this was with Inventor 2016 sp1)