- UID
- 267748
- 积分
- 1255
- 精华
- 贡献
-
- 威望
-
- 活跃度
-
- D豆
-
- 在线时间
- 小时
- 注册时间
- 2005-5-27
- 最后登录
- 1970-1-1
|
发表于 2007-2-12 19:58:35
|
显示全部楼层
请看前辈的忠告
Tony Tanzillo Nov 25 1999, 4:00 pm
Newsgroups: autodesk.autocad.customization
Subject: Re: line inters polyline
Well - I Agree that vla-intersectwith should not return
empty safearrays if there is no intersection, it should
return a variant of type :vlax-vbEmpty, because that's
how other ActiveX clients would expect a 'null' result
to be represented (I haven't checked what the VBA/ActiveX
counterpart returns, but it should be an emptpy variant).
Most would probably prefer (vla-intersectwith) to return
nil when there's no intersection, but this method is just
a 'wrapper' for the underlying ActiveX method, and there
is no translation between LISP and ActiveX types done, I
think for a good reason: because it would result in a lot
of inconsistency.
So, it's probably a good thing that all ActiveX functions
behave in a *consistent* way, and do not attempt to cast
their results or output to LISP types |
|