NCF参数化建筑论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 10378|回复: 3
打印 上一主题 下一主题

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

[复制链接]
跳转到指定楼层
1m
发表于 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 感谢分享!

查看全部评分

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏1 分享分享
2m
发表于 2013-6-28 22:07:09 | 只看该作者
其实说的挺有用,要是能结合个小例子演示一下就好了~
3m
发表于 2013-6-29 01:02:52 | 只看该作者
太高深了
不太明白
4m
发表于 2014-2-15 10:59:10 | 只看该作者
感谢楼主的分享,赞一个!

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

GMT+8, 2024-5-7 06:53 , Processed in 0.116178 second(s), 20 queries , Gzip On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

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