Difference between revisions of "API Panel.Position.GetCoords"
From Flowcode Help
Jump to navigationJump to search (XML import API auto-gen)  | 
				 (XML import of API auto-gen)  | 
				||
| Line 23: | Line 23: | ||
====Calling in a calculation====  | ====Calling in a calculation====  | ||
* Declare a variable 'result' of type FLOAT[]  | * Declare a variable 'result' of type FLOAT[]  | ||
| − | * Add to a calculation icon: result = ::Panel.Position.GetCoords(handle, target)  | + | * Add to a calculation icon: <pre class="brush:[C]">result = ::Panel.Position.GetCoords(handle, target)</pre>  | 
Revision as of 15:35, 10 May 2013
<sidebar>API contents</sidebar> Returns the positions coordinates in {X,Y,Z} array
Parameters
HANDLE Handle
- The position or component to read
 - The default value for this parameter is: this
 
HANDLE Target
- The position or component to convert relative to
 - The default value for this parameter is: this
 
Return value
Returns the positions coordinates in {X,Y,Z} array
Detailed description
No additional information
Examples
Calling in a calculation
- Declare a variable 'result' of type FLOAT[]
 - Add to a calculation icon: 
result = ::Panel.Position.GetCoords(handle, target)