查看单个帖子
旧 2009-05-07, 04:18 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】spline Control Points

spline control points
spline control points
we have a some dxf files with splines created with autocad. these splines have been specified to have their control points rendered along with the normal nurbcurves. how do i test splines to determine whether or not the control points should be displayed? it's not apparent in the documentation.
i guess control points are to be rendered if the autocad spline property splframe is equal to 1 (splframe=1)... how do i test for this property in dwgdirect?
splframe is not a property of spline entity - it's system variable. it effects all splines in drawing. you can acces it with
oddbdatabase::getsplframe()
oddbdatabase::setsplframe()
sergey slezkin

that's the ticket.
thanks sergey.
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)