Difference between revisions of "API FCD.GetItemHandle"

From Flowcode Help
Jump to navigationJump to search
(XML import API auto-gen)
(XML import of API auto-gen)
Line 21: Line 21:
 
====Calling in a calculation====
 
====Calling in a calculation====
 
* Declare a variable 'result' of type HANDLE
 
* Declare a variable 'result' of type HANDLE
* Add to a calculation icon: result = ::FCD.GetItemHandle(pathname, "itemname")
+
* Add to a calculation icon: <pre class="brush:[C]">result = ::FCD.GetItemHandle(pathname, "itemname")</pre>

Revision as of 15:35, 10 May 2013

<sidebar>API contents</sidebar> Gets a FCD items handle, suitable for traversal with the Tree API


Parameters

HANDLE PathName

An existing handle or the '.' separated path through the FCD to look in

STRING ItemName

The name of an item in the path to find

Return value

HANDLE

Returns the FCD items handle, suitable for traversal with the Tree API

Detailed description

No additional information

Examples

Calling in a calculation

  • Declare a variable 'result' of type HANDLE
  • Add to a calculation icon:
    result = ::FCD.GetItemHandle(pathname, "itemname")