几何尺寸与公差论坛------致力于产品几何量公差标准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)
-   -   【转帖】odavematerialgetattachedmaterial90 returns false, when ma (http://www.dimcax.com/hust/showthread.php?t=17432)

yang686526 2009-05-06 07:09 PM

【转帖】odavematerialgetattachedmaterial90 returns false, when ma
 
odavematerial::getattachedmaterial() returns false, when mat
odavematerial::getattachedmaterial() returns false, when material exists
hi there,
i work for a sustaining member, and am having an issue with getattachedmaterial().
basically, the properties of a solid in autocad insist it has a material, but getattachedmaterial returns false.
i've also tested with odaveex, and it finds no attached materials either.
perhaps there's something i'm missing - the attached autocad 2007 drawing exhibits this behavior.
thanks in advance,
fred vandervelde
attached files
are you sure that you need getattachedmaterial()?
3dsolid has material id under group code 347.
oddbobjectid oddbentity::materialid() const return it.
thank you!
f.


所有的时间均为北京时间。 现在的时间是 12:31 AM.