Inventor Engineer-To-Order (Read-Only)
Welcome to Autodesk’s Inventor ETO Forums. Share your knowledge, ask questions, and explore popular Inventor ETO topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Parsing Error. Maximum Length?

0 REPLIES 0
Reply
Message 1 of 1
FarrenYoung
261 Views, 0 Replies

Parsing Error. Maximum Length?

I am having a problem setting a dynamic rule that is a long list.  By long I mean the length of the string by doing .ToString() on my Intent.Value I get over 4000 characters.

 

Upon further investigation I have found that it may be more related to the parsing of a string over a set limit.

 

I have created the following method to demonstrate the problem with a simple string.  The results follow.

 

	Method TestError() As Any
		Dim str As String = ""
		Dim i As Integer
		For i = 1 To 5000
			str = str + "x"
			printValue(length(str))
			EvaluateString("""" & str & """")
		Next
		Return NoValue
	End Method
1
2
...
4003 
4004 
4005 
11/1/2011 3:32:19 PM: Error message: Parse error
Error code: 20008
Error occurred: Error
Rule Stack:
Root - %%EVAL_TEMP_9108
Root - TestError

 Is there a setting somewhere to adjust this?  Is it possible you could increase this limit or give user an option to?

 

Thanks,

--Farren

************************************************************************************
If this post helps, please click the "thumbs up" to give kudos
If this post answers your question, please click "Accept as Solution"
************************************************************************************
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report