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: 

Cannot Save Design (unable to parse) with Rule value containing word Select

2 REPLIES 2
Reply
Message 1 of 3
FarrenYoung
392 Views, 2 Replies

Cannot Save Design (unable to parse) with Rule value containing word Select

I am trying to do the following in 4.3.523

	
	Rule blah As Any = System.Environment.UserName()
	Rule blah2 As Any = System.Environment.Select()

blah is OK.

blah2 is throwing a compile error and will not save.  This is happening in both designs and functions.

 

--Farren

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

Farren, I have reproduced this in the latest build of ETO 2012 and logged the issue as INT-1451. 

 

Just for grins I tried working around it using EvaluateString() to get out of Design Editor (as it has it's own error checking), but it still failed to parse when I evaluated the rule. I don't have a workaround at this point.



Chris Palmatier
Customer Success Engineer
Inventor Engineer-to-Order

Message 3 of 3

Farren,

 

We just closed this As Designed. Select is a keyword in Intent language and VB, for Select Case. You'll have to use another name for your method.



Chris Palmatier
Customer Success Engineer
Inventor Engineer-to-Order

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

Post to forums  

Autodesk Design & Make Report