Delete one layer as XML

Discuss and ask questions about CADEditorX and XML API.

Moderators: admin, support, SDS

Delete one layer as XML

Postby agvs » 19 Apr 2017, 08:25

Hello,
I'd like to delete one layer.

For example,
First, I make A, B, C, and D layer.
And I work with A, B, C, and D layer.
Last, I'd like to delete only C layer.

Let me know deleting one layer as Xml.
Thanks,
agvs
 
Posts: 30
Joined: 16 Jun 2016, 09:10

Re: Delete one layer as XML

Postby support » 19 Apr 2017, 16:18

Hello,

To delete a certain layer and all objects on this layer, use the following XML code:

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<cadsofttools version="2">
    <select Layer="C" Marker="True"/>       
    <delete/>
    <select PathName="TABLES;LAYER;C;" Marker="False"/>   
    <delete/> 
</cadsofttools>


Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
support
 
Posts: 2730
Joined: 30 Mar 2005, 08:36


Return to CADEditorX

Who is online

Users browsing this forum: No registered users and 2 guests

cron