![]() |
【转帖】giworlddraw vs vectorization
giworlddraw vs vectorization
giworlddraw vs vectorization is there any difference if i import a dxf/dwg file using vectorization compared to when using worlddraw on individual entities of a database?? one difference that i could think of is that blocks are exploded in vectorization..so one cannot possibly know if an entity was part of a block.. are there any other differences? this would help me in evaluating which route to take for dxf/dwg import. tia, alex the difference is rather significant. which way to choose depends on your task (kind of format you are importing to). for example if you need only visible representation (bitmap, dwf, svg, pdf) you can use vectorization of the whole drawing. if you are importing to some kind of cad format and you need to preserve block structure, import dimension entity as dimension not as lines and triangles etc.) - in this case you may want to call worlddraw() to get geometry only for "unknown" for you entities. but note that 1. some entities may have no geometry produced by worlddraw(). if entity's representation is viewport-dependent it's rendered with viewportdraw(). for example oddbpoint if pdsize < 0. the size in this case is specified not in model units but percentage of viewport size. 2. calling worlddraw() for individual entities you need to take care about context yourself. i mean processing of current transform, clip, byblock and bylayer properties etc. sergey slezkin that was pretty useful. thanks sergey. |
所有的时间均为北京时间。 现在的时间是 09:50 PM. |