可能很多人疑惑两种电池的区别吧....
简单地说,前者是新的,后者是旧的。VB 和C#是调用的rhinocommon,而legacy电池调用的的是老rhino.net的sdk。
legacy电池最常见的作用就是,你下了一个前辈写的史前电池块,发现在现在的gh里没法使用了,这时候你把脚本复制到Legacy里,很有可能就工作了。其他情况,能用正常的VB/C#,还是用正常的。
以下david的原话:
The legacy components use the old Rhino .NET SDK (Rhino_DotNet.dll) while the new components use [size=1em]RhinoCommon. RhinoCommon is under active development and it seems likely that it will also become the SDK for iRhino, whereas the old SDK will most certainly not.
The legacy components are there to allow old scripts to run, but I sincerely advice against using them for new projects. They will keep falling behind more and more in functionality and there will be fewer and fewer people who can provide support for them. Also, they'll never run on the Mac, even when Grasshopper eventually will.
欢迎光临 NCF参数化建筑论坛 (http://bbs.ncf-china.com/) | Powered by Discuz! X3.2 |