Hiding object?

Discuss and ask questions about CADEditorX and XML API.

Moderators: admin, support, SDS

Hiding object?

Postby agvs » 13 Apr 2017, 09:36

Hi,
After making objects (line, circle), Can I hide them as Xml?(Not delete them)
Let me know.
Thanks,
agvs
 
Posts: 30
Joined: 16 Jun 2016, 09:10

Re: Hiding object?

Postby support » 13 Apr 2017, 20: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
support
 
Posts: 2730
Joined: 30 Mar 2005, 08:36


Return to CADEditorX

Who is online

Users browsing this forum: No registered users and 1 guest

cron