How to combine(Join) a few objects

Discuss and ask questions about CADEditorX and XML API.

Moderators: admin, support, SDS

Post Reply
agvs
Posts: 30
Joined: 16 Jun 2016, 11:10

How to combine(Join) a few objects

Post by agvs » 01 Nov 2016, 07:52

Hi,
I have a question.
I'd like to combine (Join) a few objects(arc and polyline) as xml. But, I don't know it.
I tried to use "Union" after searching help description. But, it was not correct.(PS: the Union icon was not enable. Ref.see union.jpg)
Can you help me how to combine(Join) both arc and polyline together?

Thanks,
Attachments
union.jpg
union.jpg (42.81 KiB) Viewed 14488 times

support
Posts: 2811
Joined: 30 Mar 2005, 11:36
Contact:

Re: How to combine(Join) a few objects

Post by support » 01 Nov 2016, 21:04

Hello,

Objects to be joined must be collinear (lying in the same straight line) or concentric (having a common centre). For example, you can join two lines that have a gap and lie in the straight line or circular arcs with a common centre and equal radius. Given the above said, you can't join arc and polyline.

The Union button is enabled only when two objects are selected.


Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

agvs
Posts: 30
Joined: 16 Jun 2016, 11:10

Re: How to combine(Join) a few objects

Post by agvs » 02 Nov 2016, 05:20

Thanks!!
I have more questions.
1)I can't union between polyline and arc.
Is it possible?

2)I can't find out 'Union' as xml.
How do I have to do 'union' as xml?
Let me know, please.
Thanks,

support
Posts: 2811
Joined: 30 Mar 2005, 11:36
Contact:

Re: How to combine(Join) a few objects

Post by support » 02 Nov 2016, 16:04

I can't union between polyline and arc. Is it possible?
It is not possible.
How do I have to do 'union' as xml?
Execute Unite command as shown below.

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<cadsofttools version="2">
  <command text="Unite"/>
</cadsofttools>
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply