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

yang686526 2009-05-05 10:00 AM

【转帖】exception thrown in oddbblocktablerecordsetname90
 
exception thrown in oddbblocktablerecord::setname()
exception thrown in oddbblocktablerecord::setname()
i'm running dd2.0.1 and i think i've found a problem related to block names. i'm using the c++ odwriteex example and i have added a call to the existing (but not used) dbfiller::addblock() member function inside dbfiller::filldatabase(). when addblock() tries to set the name of the block, an "illegal block name" exception is thrown.
anyone else seeing this or can verify that it'll be fixed soon?
pete rimkus
cnc software, inc.
curently "addblockdef" is used instead of the "addblock".
what name did you try to set to the block?
vladimir
vladimir,
i was using "*d0", then "*mcam-d0". i removed the '*' and used only "mcam-d0" and that worked.
i got an email from neil p and he said that names starting with '*' are reserved for special use in autocad.


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