找回密码
 注册
搜索
查看: 8170|回复: 2

VB.net textdot textentity的区别

[复制链接]
发表于 2011-3-21 15:37:07 | 显示全部楼层 |阅读模式
如题,有谁能够帮忙解释一下吗?
  Private Sub RunScript(ByVal x As Object, ByVal y As Object, ByRef A As Object)

    Dim Tdt As New TextDot("you are a pig", New Point3d(0, 0, 0))
    Dim T_s As New List(Of  Textdot)
    T_s.Add(Tdt)
    a = T_s(0).text



没有报错,但是rhino屏幕上却无论怎么也找不到我新加的这个textdot。

但是textentity里面有没有constructor。

有没有什么办法可以在两者之间转换?
 楼主| 发表于 2011-3-22 10:19:43 | 显示全部楼层
每次发的帖都是自问自答。。。
回复

使用道具 举报

发表于 2011-3-22 16:53:03 | 显示全部楼层
肯定找不到啦  textdot。text 应该是string
回复

使用道具 举报

NCFZ微信公众号

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

GMT+8, 2026-11-23 20:06 , Processed in 0.048005 second(s), 18 queries , Gzip On.

Powered by Discuz! X5.0 Licensed

© 2001-2026 Discuz! Team.

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