查看单个帖子
旧 2009-05-06, 08:11 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】oddbsolidgetpointat only up to version 13

oddbsolid::getpointat only up to version 13?
oddbsolid::getpointat only up to version 13?
hello,
in the oda-documentation for oddbsolid::getpointat, we found the following sentence:
returns the specified wcs point of this solid entity (dxf 10, 11, 12, or 13).
what does it mean
is it only for dxf-versions up to 13?
is there an other function for the higher versions (2004 for example)?
thank you for a short answer.

this function fills 'point' in argument with the value of the point in the solid whose index is index. index can have a value of 0, 1, 2, or 3, depending on which point is desired (that is, 0 for the first point, 1 for the second point, etc.). if there are only three corners on the solid, then the points with indices 2 and 3 will have the same value. the returned point will be in wcs coordinates.
if the index is not between 0 and 3, then einvalidindex exception will be throwed.
point one is the wcs equivalent of dxf group code 10
point two is the wcs equivalent of dxf group code 11
point three is the wcs equivalent of dxf group code 12
point four is the wcs equivalent of dxf group code 13
thanks
hello amark,
thank you for the fast answer. there was a big mistake in our thoughts!
last edited by elmar.driesch@card-1.com; 16th december 2008 at 06:08 amfff">.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)