NCF参数化建筑论坛

标题: 关于VB/C# 与 VB/C# legacy的区别 [打印本页]

作者: xerrolol    时间: 2013-6-28 17:40
标题: 关于VB/C# 与 VB/C# legacy的区别

可能很多人疑惑两种电池的区别吧....

简单地说,前者是新的,后者是旧的。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.



作者: designer@sen    时间: 2013-6-28 22:07
其实说的挺有用,要是能结合个小例子演示一下就好了~
作者: 虚子    时间: 2013-6-29 01:02
太高深了
不太明白
作者: 左手◆23年    时间: 2014-2-15 10:59
感谢楼主的分享,赞一个!




欢迎光临 NCF参数化建筑论坛 (http://bbs.ncf-china.com/) Powered by Discuz! X3.2