![]() |
【转帖】oddb2dpolyline returns also arcs
oddb2dpolyline returns also arcs?
oddb2dpolyline returns also arcs? hi, we are using version 1.11 and we are importing a dwg file containing some elements resolved as oddb2dpolyline. we use the function explode to retrieve the primitive elements of the polyline and, looking at the documentation of dwgdirect, we would find only oddbline after explosion. but these polylines are composed by lines and arcs(!) and infact if we ask to all oddbline which entity are them, sometimes we receive arcs. so, is this behaviour correct? could an oddb2dpolyline contain not only lines? and if yes, which others elements? in this moment, after explosion, we look for every oddbline type and we cast it oddbarc if necessary but we don't know if it is sufficient and/or correct. thank you in advance. oddb2dpolyline can have segments with bulges. in this case you'll get oddbarc entities. also note that oddb2dpolyline can have segments with widths. they are lost as result of oddb2dpolyline::explode(). sincerely yours, george udov |
所有的时间均为北京时间。 现在的时间是 12:15 PM. |