Page 1 of 1

Show point

Posted: 06 Mar 2017, 11:56
by agvs
Hi,
I'd like to control 'Scale' of 'Show point' as XML process.
How to do that?
Let me know.
Thanks,

Re: Show point

Posted: 06 Mar 2017, 17:18
by support
Hello,

Currently it is not possible to specify Scale parameter through the XML API.


Mikhail

Re: Show point

Posted: 08 Mar 2017, 03:38
by agvs
I got the below answer from Cadsofttools.
I attached that code to help other people.
Thanks,

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<cadsofttools version="2">
  <command text="showpoint 0 0 0 500"/>         
</cadsofttools>
*0,0,0 means X, Y, Z. 500 means scale in percentage.

Re: Show point

Posted: 10 Mar 2017, 22:20
by support
Hello,

You are right, it is possible to specify Scale value through XML API. However, I would like to make a little remark: <command text=""/> should emulate entering the commands in CADEditorX command line, but in this case the XML code doesn't do it. In other words, you cannot enter X, Y, Z and Scale values in the command line, because the ShowPoint command invokes a dialog window.


Mikhail