![]() |
【转帖】selecting Entities Within A Block Record
selecting entities within a block record
selecting entities within a block record hi, i have a block record which looks something like this (pseudo): code: dbblocktablerecord { dbpolyline dbblockreference dbblockreference ... } in model space i have a dbblockreference to this block record, hence regular interaction (mouse select/drag) works fine. however, i am trying to select specific entities (block references) within the dbblocktablerecord by screen coordinates (pick by mouse interaction). i tried a few methods which either didn't work or turned out too complex. (for example, i tried assigning every internal block reference to a special layer, and then using a selection filter. since select() probably only iterates model space, this didn't seem to work.) any suggestions on how this can be accomplished in a tidy fashion? subentity selection is not yet supported out-of-the-box. subentity hilight is not supported at all. selection may be implemented on the client side, but it is rather non-trivial. (you have to apply all transforms manually) perhaps subentity selection will be added in the next release, if it will be stable enough. (it is already implemented internally) vladimir |
所有的时间均为北京时间。 现在的时间是 08:53 PM. |