explode

explode

Anonymous
Not applicable
411 Views
2 Replies
Message 1 of 3

explode

Anonymous
Not applicable
Hi, all!
I have a block with a MTEXT entity in it, if I use AcDbEntity::explode() to explode it, the MTEXT is exploded into pieces of TEXTs, but if this is done by "explode" command in the editor, the MTEXT remains unchanged. Now I want to explode it by codes and to keep the MTEXT as a whole, how can I control the explode level?

Thanks, Xia.
0 Likes
412 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
I think you'll have to either use the EXPLODE
command (via acedCommand()) or else you'll have to write your own code to
deepclone the contents of the AcDbBlockTableRecord referenced by the
AcDbBlockReference.


style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
Hi,
all!
I have a block with a MTEXT entity in it, if I use
AcDbEntity::explode() to explode it, the MTEXT is exploded into pieces of
TEXTs, but if this is done by "explode" command in the editor, the MTEXT
remains unchanged. Now I want to explode it by codes and to keep the MTEXT as
a whole, how can I control the explode level?

Thanks, Xia.

0 Likes
Message 3 of 3

Anonymous
Not applicable
Same holds true for objects in a block that have hyperlinks. I created an insert-and-explode jig that originally used explode(), but the hyperlink information was lost. Fortunately, acedCommand() works within the jig. However, there's this issue that also came up:

http://discussion.autodesk.com/thread.jspa?threadID=543739
0 Likes