返回当前载入的 Rhino 文档(3DM 文件)路径。
rhinoscriptsyntax.DocumentPath ()
rhinoscript.document.DocumentPath ()
空值。
字符串
返回当前文档的路径。
None
如果执行不成功或出错,返回空值。
import rhinoscriptsyntax as rs
path = rs.DocumentPath()
print path
DocumentName
DocumentURL