Inventor Engineer-to-Order

Inventor Engineer-to-Order

Reply
Mentor
FarrenYoung
Posts: 264
Registered: ‎07-13-2009
Message 1 of 3 (141 Views)

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

141 Views, 2 Replies
09-21-2011 06:45 PM

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"
************************************************************************************
Employee
Chris.Palmatier
Posts: 177
Registered: ‎05-27-2010
Message 2 of 3 (124 Views)

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

09-26-2011 02:12 PM in reply to: FarrenYoung

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

Employee
Chris.Palmatier
Posts: 177
Registered: ‎05-27-2010
Message 3 of 3 (116 Views)

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

09-27-2011 11:20 AM in reply to: FarrenYoung

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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Manufacturing Community
The Manufacturing Community provides additional access to tips, tutorials, blogs and networking with peers.