Difference between revisions of "API FCD.GetItemHandle"

From Flowcode Help
Jump to navigationJump to search
(XML import)
(XML import)
Line 15: Line 15:
 
[[Variable types|STRING]] ''ItemName''
 
[[Variable types|STRING]] ''ItemName''
 
:The name of an item in the path to find
 
:The name of an item in the path to find
 +
  
 
==Return value==
 
==Return value==
Line 20: Line 21:
  
 
Returns the FCD items handle, suitable for traversal with the Tree API
 
Returns the FCD items handle, suitable for traversal with the Tree API
 +
  
 
==Detailed description==
 
==Detailed description==

Revision as of 01:53, 12 May 2013

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

Class hierarchy

FCD

GetItemHandle

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")

No additional information