几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   DirectDWG (http://www.dimcax.com/hust/forumdisplay.php?f=89)
-   -   【转帖】spline Control Points (http://www.dimcax.com/hust/showthread.php?t=18651)

yang686526 2009-05-07 04:18 PM

【转帖】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.


所有的时间均为北京时间。 现在的时间是 05:51 PM.