translate-point
Command Automation
You can automate by passing this command and parameters into oDmApp.ParseCommand(), using any COM-aware scripting language.
Note: For more information on scripting in Studio NPVS+, please refer to your Scripting Tutorial (Help > Scripting Tutorial).
Example Parameter String (JS):
Where:
-
@point=100.0,200.0,0.0,1is theParsePointArguments: X,Y,Z,nButton. -
'1.0'is thestrX: a string value parsed as numeric offset X. -
'2.0'is thestrY: a string value parsed as numeric offset Y. -
'3.0'is thestrZ: a string value parsed as numeric offset Z. -
'yes'is thestrCopy: a string value interpreted as yes/no for copy mode (first letter y enables copy). -
'2'is thestrRepeat: a string value parsed as integer repeat count (optional).
Parameters Table
| Parameter | Description | Reqd? | Example Syntax |
|---|---|---|---|
ParsePointArguments
|
X,Y,Z,nButton.
|
Y | @point=100.0,200.0,0.0,1
|
strX
|
A string value parsed as numeric offset X. |
Y | '1.0'
|
strY
|
A string value parsed as numeric offset Y. |
Y | '2.0'
|
strZ
|
A string value parsed as numeric offset Z. |
Y | '3.0'
|
strCopy
|
A string value interpreted as yes/no for copy mode (first letter y enables copy). |
Y | 'yes'
|
strRepeat
|
A string value parsed as integer repeat count (optional). |
N | '2'
|
