<< Click to Display Table of Contents >> Navigation: How To > How to add line, text, block, layer, etc. |
Such entities as lines, texts, mtexts, blocks and inserts and others as well as invisible objects like layers and styles are called Classes in CAD XML reference. They can be added by calling the add instruction that accepts CAD Drawing XML Structure as a child parameter.
There are a lot of examples of adding particular classes in the Classes section of the XML examples.
To add text and line, execute the following XML:
<?xml version="1.0" encoding="utf-8"?> |
To add a new layer, execute the following XML:
<?xml version="1.0" encoding="UTF-8"?> |
To add a block, execute the following XML:
<?xml version="1.0" encoding="utf-8"?> |
Go to CADEditorX