![]() |
【转帖】what Renders Acdbline
what renders acdbline?
what renders acdbline? i am trying out the odvectorizeex example with one of my test files and noticed that acdbline entities don't seem to be handled by any of the function calls in exgssimpledevice (i.e. polylineproc, xlineproc, etc). the draw() method in exsimpleview would see the line entity and print out the name and object id, but odgsbasevectorizeview::draw(pdrawable) does not seem to hand it off to any methods in exgssimpledevice. can anybody please tell me how i can get exgssimpledevice to support acdblines? thank you. steven hi, i can't reproduce it in latest code. code: load completed------------------------ begin drawing: < acgidrawable non-db > begin drawing: < acgidrawable non-db > begin drawing: < acdbblocktablerecord 1f > begin drawing: < acdbline 89 > draw_color_index: 7 draw_linewidth: 0 polyline, 2 points: (18.687982, 70.499477, 0.000000) (23.759647, 44.268964, 0.000000) begin drawing: < acdbline 8a > draw_color_index: 7 draw_linewidth: 0 polyline, 2 points: (23.759647, 44.268964, 0.000000) (34.564498, 72.593509, 0.000000) begin drawing: < acdbline 8b > draw_color_index: 7 draw_linewidth: 0 polyline, 2 points: (34.564498, 72.593509, 0.000000) (39.305402, 45.811935, 0.000000) finished ok. are you sure lines in your dwg are visible ? doh! noob mistake on my part ... tested again with another file and it worked as advertised. mea culpa |
| 所有的时间均为北京时间。 现在的时间是 10:04 AM. |