几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】getoffsetcurves90 error code 127 (http://www.dimcax.com/hust/showthread.php?t=16396)

yang686526 2009-05-05 11:24 AM

【转帖】getoffsetcurves90 error code 127
 
getoffsetcurves() error code 127
getoffsetcurves() error code 127
hi all, i am not sure what i am doing wrong here, but i get an error code 127 from getoffsetcurves() in the following code.
i looked up the code in errordefs.h and it says erepeatentity. anyone know what this is?
thanks a ton
code
code:
oddbobjectid offset(oddbdatabaseptr pdb, oddbobjectid id , double offsetdistance)
{
oddbcurveptr pcurve = id.openobject();
odrxobjectptrarray offsetcurves;
pcurve->getoffsetcurves(offsetdistance, offsetcurves);//<---
return addtomodelspace( pdb, (oddbentityptr)offsetcurves[0]);
getoffsetcurves() returns enotimplemented.
you may implement your version of the function via oddbcurvepe
(see release notes for v. 1.14.), until our implementation will be ready (not planned for the next version).
vladimir
quote:
originally posted by wvk
getoffsetcurves() returns enotimplemented.
you may implement your version of the function via oddbcurvepe
(see release notes for v. 1.14.), until our implementation will be ready (not planned for the next version).
thank you for the reply
i see this has been on the to-do list for a couple of years now, i hope it makes it in the next release++
just a thought , it might be a good idea if the documents that accompany the drx sdks indicate the items that are not yet implemented. this is the second time i could have been at a barbecue
last edited by danielm103; 27th may 2008 at 07:25 amfff">.


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