Question: How to work with editor instruments “move”, “rotate”, “scale”, etc. from XML?
Answer: These instruments works via command line. Description of supported commands can be found in User Reference.
Example of XML for rotating the entity. Entity should be selected by mouse or by “selectentity” instruction:
<?xml version="1.0" encoding="UTF-8"?>
<cadsofttools version="2">
<!-- 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 ABViewer