高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】ole object position
ole object position
ole object position
hello,
i use dwgdirect 1.12 in my project and i try to get position of ole object.
i use following code to do it:
if(!pentity.isnull() && pentity->iskindof(oddbole2frame::desc() )
{
oddbole2frameptr pole = pentity;
odrectangle3d rect3d;
odgepoint3d pt3d;
pole->getlocation(pt3d);
pole->position(rect3d);
}
what i get are very big values of rect3d corners and pt3d coordinates.
please advice me, what should i do to get the proper vaules. it's important to me to do it in 1.12 version.
regards,
savip
never mind,
i solve the problem
the bug was on my side - wrong data formatting
|