显示一个对话框,提示用户输入字符串。字符串可以是多行的。
rhinoscriptsyntax.EditBox (default_string=None, message=None, title=None)
rhinoscript.userinterface.EditBox (default_string=None, message=None, title=None)
default_string |
可选参数。字符串。默认字符串。 |
message |
可选参数。字符串。提示信息。 |
title |
可选参数。字符串。对话框标题。 |
字符串 |
多行字符串行与行之间是用换行符隔开的。 |
None |
如果执行不成功或出错,返回空值。 |
import rhinoscriptsyntax as rs
text = rs.EditBox(message="Enter some text")
print text