Orca3D Talk!
February 10, 2012, 12:41:24 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: sample script  (Read 753 times)
alina
Newbie
*
Posts: 9


View Profile
« on: July 27, 2010, 04:36:58 AM »

Hi!
I am writing to warn you that the script I found in the Sample Data folder doesn't work.
I had to replace all the "enter" with "_enter". Perhaps it's normal, I can't say it because I don't know anything about scripting.
Have a nice day.
Ale
Logged
Admin
Administrator
Sr. Member
*****
Posts: 90


View Profile
« Reply #1 on: July 27, 2010, 09:20:07 AM »

Ale:

Thanks for pointing this out. As you may know, for scripts to work in non-English language versions of Rhino, it's necessary to put an underscore (_) in front of all of the commands, so that Rhino will interpret them as the English command. In our example script, each instance of enter should be written as _enter. You'll notice that this was done with the other commands in the script, but unfortunately we neglected to include it with each instance of enter. We'll correct that in the next release.

For those using the English-language version of Rhino, the script will work fine as-is.

Bruce
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.13 | SMF © 2006-2011, Simple Machines LLC Valid XHTML 1.0! Valid CSS!