Exploding mline without explode()

Exploding mline without explode()

Anonymous
Not applicable
654 Views
5 Replies
Message 1 of 6

Exploding mline without explode()

Anonymous
Not applicable
Hi all,
does someone know how we can extract the mline lines without calling the explode() method?
The result should be array of line and arc pointers.

I'm just asking before starting with the geometry in order to know that I'll not do it in vain
Thanks
Chudo
0 Likes
655 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable
Have you tried the explode() method?

The explode() method does exactly what you are asking for, it doesn't erase
the original if that's your concern. The entities returned are also memory
resident, not DBR.

The EXPLODE command simply calls the explode() method and then adds the
returned entities to the DB and then erases the original.

|
----+----------------------------------------------
| Byron Blattel
| CADwerx---Applications for AutoCAD
| Autodesk Registered Developer
| email: [email protected]
| web site: http://www.cadwerx.net
|

"chudo" wrote in message
news:[email protected]...
Hi all,
does someone know how we can extract the mline lines without calling the
explode() method?
The result should be array of line and arc pointers.
I'm just asking before starting with the geometry in order to know that I'll
not do it in vain
Thanks
Chudo
0 Likes
Message 3 of 6

Anonymous
Not applicable
Hi Byron,
Thanks for your reply.
But I need the "explosion" without the explode() method - I need it not for ARX application and I just have the mline data as you can call the AcDbMline and AcDbMlineStyle query functions.
It seems that some geometry is waiting for me...
Regards
Chudomir
0 Likes
Message 4 of 6

Anonymous
Not applicable
What's wrong with the ObjectARX explode method? It
doesn't change the entity in the database - it just gives you an array of the
entities produced by the explode operation.


Cheers,

 

Stephen Preston
Developer Technical Services
Autodesk

 

 

style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Hi
all,
does someone know how we can extract the mline lines without calling
the explode() method?
The result should be array of line and arc pointers.

I'm just asking before starting with the geometry in order to know that
I'll not do it in vain
Thanks
Chudo

0 Likes
Message 5 of 6

Anonymous
Not applicable
Oops. Sorry - I didn't read the other postings.
:-)

 

But I'm still unclear exactly what you want to do.
Are you trying to do this from the UI? If not ARX - what are you
using?

 

 

 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">

What's wrong with the ObjectARX explode method?
It doesn't change the entity in the database - it just gives you an array of
the entities produced by the explode operation.

size=2>

Cheers,

 

Stephen Preston
Developer Technical Services
Autodesk

 

 

style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
Hi
all,
does someone know how we can extract the mline lines without
calling the explode() method?
The result should be array of line and arc
pointers.

I'm just asking before starting with the geometry in order to know that
I'll not do it in vain
Thanks

Chudo

0 Likes
Message 6 of 6

Anonymous
Not applicable
Well, hmm, I'm using a library outside ARX and DBX - openDWG toolkit;
I want to have the mline data as lines and arcs since I have only such simple kind of objects for use.
I still haven't began to work on it since more important things to do, but I'll need it soon.
And was just wandering wheter someone had been worked on it...
The task will not be so difficult I think, but will need time.

At least can you tell me how I can recieve info for those cuts made by the mledit command?

Thanks for your help.
Regards
Chudo
0 Likes