高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】exploding insert of blocks with tags not ok
exploding insert of blocks with tags not ok
exploding insert of blocks with tags not ok
exploding insert of blocks which contain tags does not produce correct text.
if tags are given custom values, they are ignored by explode(). the generated text's contain the default tag value instead of the custimzed one.
see enclosed files for demonstration.
(for mysterious reason, uploading the zipped dwg fails...can be send by mail if necessary )
is this a known bug ?
thanks
attached images
both acad and dd while exploding block reference do exactly the same. they do not produce any text entities. attributes (addbattributes) attached to block reference are ignored. attribute definitions (oddbattributedefinitions) are cloned together with other entities from blocktablerecord and transformed by block reference transformation.
if oddbattributedefinition resides in layout block (ms or ps) it's rendered with its tag.
if oddbattrributedefinition is in "normal" (non-layout) block it is not rendered at all. attributes attached to block reference are rendered in this case.
sergey slezkin
|