How to combine(Join) a few objects

Discuss and ask questions about CADEditorX and XML API.

Moderators: admin, support, SDS

How to combine(Join) a few objects

Postby agvs » 01 Nov 2016, 05: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 10155 times
agvs
 
Posts: 30
Joined: 16 Jun 2016, 09:10

Re: How to combine(Join) a few objects

Postby support » 01 Nov 2016, 19: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
support
 
Posts: 2754
Joined: 30 Mar 2005, 08:36

Re: How to combine(Join) a few objects

Postby agvs » 02 Nov 2016, 03: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,
agvs
 
Posts: 30
Joined: 16 Jun 2016, 09:10

Re: How to combine(Join) a few objects

Postby support » 02 Nov 2016, 14: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
support
 
Posts: 2754
Joined: 30 Mar 2005, 08:36


Return to CADEditorX

Who is online

Users browsing this forum: No registered users and 2 guests