Inventor Engineer-to-Order

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

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

131 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 (114 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 (106 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

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

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community


Inventor Exchange Apps

Created by the community for the community, Autodesk Exchange Apps for Autodesk Inventor helps you achieve greater speed, accuracy, and automation from concept to manufacturing.

Connect with Inventor

Twitter

Facebook

Blogs

Pinterest

Youtube