<add>

  XML_API > CAD XML API Reference > XML Reference Extension > Instructions >

<add>

Previous pageReturn to chapter overviewNext page

The element defines Add command that adds sections (TABLES, BLOCKS) or entities to the current drawing.

 

Syntax:

<add>     

  [TABLE NAME][]
</add>

 

 

Example:

The following code shows how to add a circle to the Entities section (the Entities section is Block named *Model_Space). All entities will be added to the Block *Model_Space by default.

<?xml version="1.0" encoding="UTF-8"?>
<cadsofttools version="2.0">
<add>
  <Circle BasePoint="100,50,0" Radius="50"/>  
</add>
</cadsofttools>

 

<?xml version="1.0" encoding="UTF-8"?>
<cadsofttools version="2.0">
<add>
  <Circle BasePoint="100,50,0" Radius="50"/>  
</add>
</cadsofttools>

 

 

 

Go to ABViewer