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: 
Reply
Message 1 of 3
ludesroc
653 Views, 2 Replies

Select Case

Hi,

 

Is there a way to use SELECT CASE with (e.g. <=) operators??? Or am I forced to use (If Then Else) clause?

 

Select springModel
   Case "Spring2"
      Select load
          Case <= 75
              Return "White"
          Case <= 160
              Return "Yellow"
      End Select

End Select

 

Regards,

Ludesroc
2 REPLIES 2
Message 2 of 3
justinrice
in reply to: ludesroc

Andrew,

 

The following should do it:

Select springModel
   Case "Spring2"
      Select True
          Case load <= 75
              Return "White"
          Case load <= 160
              Return "Yellow"
      End Select
End Select

 Let me know if you need any further assistance,

 

Justin

Engineering Intent
JustinRice@EngineeringIntent.com
Message 3 of 3
ludesroc
in reply to: justinrice

Thanks Justin! 

 

Ludesroc

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

Post to forums  

Autodesk Design & Make Report