Delete one layer as XML

Discuss and ask questions about CADEditorX and XML API.

Moderators: admin, support, SDS

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

Delete one layer as XML

Post by agvs » 19 Apr 2017, 10:25

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.

Posts: 2834
Joined: 30 Mar 2005, 11:36

Re: Delete one layer as XML

Post by support » 19 Apr 2017, 18:18


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"/>       
    <select PathName="TABLES;LAYER;C;" Marker="False"/>   
Technical Support E-mail:
Chat support on Skype:

Post Reply