找回密码
 注册
搜索
查看: 15561|回复: 3

[VB & C#] 关于VB/C# 与 VB/C# legacy的区别

[复制链接]
发表于 2013-6-28 17:40:27 | 显示全部楼层 |阅读模式

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

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


评分

参与人数 1强度 +2 照度 +10 收起 理由
denghua + 2 + 10 感谢分享!

查看全部评分

发表于 2013-6-28 22:07:09 | 显示全部楼层
其实说的挺有用,要是能结合个小例子演示一下就好了~
回复

使用道具 举报

发表于 2013-6-29 01:02:52 | 显示全部楼层
太高深了
不太明白
回复

使用道具 举报

发表于 2014-2-15 10:59:10 | 显示全部楼层
感谢楼主的分享,赞一个!
回复

使用道具 举报

NCFZ微信公众号

手机版|小黑屋|NCF参数化建筑论坛 ( 浙ICP备2020044100号-2 ) 辽公网安备21021102000973号

GMT+8, 2026-11-23 19:28 , Processed in 0.047535 second(s), 25 queries , Gzip On.

Powered by Discuz! X5.0 Licensed

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表