|
高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】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
|