高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】add entities to a specific position
add entities to a specific position
add entities to a specific position
in odt exist a function "adaddentitytolistafter" .
how can i do this with dgwdirect ?
thanks in advanced.
in dd like in objectarx an entity can be added only to the end of block. surely except for subentities which are added to their parent like vertices to 2d or 3d polyline, attributes to block reference etc.
an entity already appended to the block can be replaced by handoverto().
sergey slezkin
my intention is to store hatch entities at the beginning of the block, unfortunatly the objects i get are unsorted.
autocad's docs say that if you want to get a specific drawing order you need to use sortentstable.
sergey slezkin
sortentstable for blockdefinitions available in ac2004, but not in older versions.
does dwgdirect sort the blockdefinition entities before writing as dwg14 or dwg2000 ?
sortentstable was introduced in r14 but for some reason its api was not included into public arx headers.
while saving to minor versions dd ignores it (probably this should be changed).
sergey slezkin
|