Hiding object?

Discuss and ask questions about CADEditorX and XML API.

Moderators: SDS, support, admin

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

Hiding object?

Post by agvs » 13 Apr 2017, 11:36

Hi,
After making objects (line, circle), Can I hide them as Xml?(Not delete them)
Let me know.
Thanks,

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

Re: Hiding object?

Post by support » 13 Apr 2017, 22:18

Hello,

You may create a hidden layer, and then place entities on this layer after creating. The following XML code creates a hidden layer.

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<cadsofttools version="2"> 
  <add>
    <cstSectionTables Name="TABLES">
      <SubEntities>               
        <cstTable Name="LAYER">
          <SubEntities>
            <cstLayer name="HiddenLayer" Visible="False"/>
          </SubEntities>                                                  
        </cstTable>
      </SubEntities>
    </cstSectionTables>
  </add>                                                                 
</cadsofttools>
Mikhail
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply