|
高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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.
|