Command property:


Asynchronous command.


The Interface Status must be Ready to perform this operation.

If the status is different than Ready, the system reply with:


<command valid="false" error="Laser module not ready" />



Command action:


Update the existing layouts with new data.


Syntax:


<command name="updatedocument">

       [XML DATA]

</command>



Reply:


<command valid="true" />


During the command execution the Interface Status goes to Updating.



When the command is executed, the system reply with:



<command name="UpdateDocument" executed="true" >


If the document creation is done, the Interface Status goes to Ready.



If the command execution fails, the system reply with:



<command name="UpdateDocument" executed="false" error="Error updating entity: [Entity name]" >



If the document creation fails, the Interface Status goes to Error.




Command purpose:


This command is used to update existing layouts, created by Create Document command, or loaded by Load Document command.