高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】problem while exploding leader
problem while exploding leader
problem while exploding leader
i am using dwgdirect version 1.11 and visual c++ 6.0.
i have a .dwg file that contains two oddbleader entities. one leader consists of a regular line and an arrow, and the other contsists of a spline and an arrow. when i call oddbleader::explode() for the first one, i get back an oddb2dpolyline and an oddbsolid, which is what i expected. however, for the second one (the one with the spline), explode() returns only the oddbsolid. i traced the code to make sure i was not losing something, and found that the size of the returned array is 1, when it should be 2. it looks like the spline is getting lost. i have attached the file (geotest12.dwg) for you to use in your testing.
this worked with version 1.10 update 1.
cheers,
bob
attached files
this is our bug. thanks for reporting it. we'll fix it by the next update.
sergey slezkin
|