How to work with editor instruments “move”, “rotate”, “scale”, etc. from XML?

<< Click to Display Table of Contents >>

Navigation:  How To >

How to work with editor instruments “move”, “rotate”, “scale”, etc. from XML?

Question:  How to work with editor instruments “move”, “rotate”, “scale”, etc. from XML?

These instruments work via the command line. The supported commands are described in the User Reference.

Example of XML to rotate an entity. The entity should be selected by the mouse or by  the selectentity instruction:

<?xml version="1.0" encoding="UTF-8"?>
<cadsofttools version="2.0">
   <!-- Runs command line  with rotate command-->
 <command text="rotate"/>
   <!—Base point -->
 <command text="1,1"/>
 <command text="Angle"/>
   <!—Angle value -->
 <command text="30"/>
</cadsofttools>

Go to CADEditorX