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

when saving spline to dxf file......
when saving spline to dxf file......
when converting the dwg2004 file to dxf r12,
i find that spline is converted to polyline.
and the problem is that the polyline points count
is not enough. how can i do it to make sure the
point count is enough for me?
the following is my codes......
#ifndef _toolkit_in_dll_
odrx_init_static_module_map();
#endif
bool disableoutput = false;
trytofindacad();
odstaticrxobject<myservices> svcs;
odinitialize(&svcs);
#ifdef _msc_ver
:drxinitwinntcrypt();
#endif
svcs.disableoutput(disableoutput);//true or false?//1
oddbdatabaseptr m_pdb;
//导处文件
odstreambufptr pfile = svcs.createfile(dfilename, oda::kfilewrite,
oda::ksharedenyreadwrite,
oda::kcreatealways);
m_pdb->writefile(pfile, (oddb::savetype)_type, (oddb:wgversion)_ver, true ,16);
#ifdef _msc_ver
:drxuninitwinntcrypt();
#endif
m_pdb.release();
oduninitialize();

oddbhostappservices::setr12savedeviation()
sincerely yours,
george udov
多谢了!!!
thank a lot!
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)