ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 3
killerxia
228 Views, 2 Replies

explode

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.
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: killerxia

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.

Message 3 of 3
chuck.han
in reply to: killerxia

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost