cns_getNodeIcon

Returns the path of the icon defined for the given ID.

Synopsis

string cns_getNodeIcon(string sId, string &sPath);

Parameters

Parameter Description
sId ID path of the node
sPath Variable in which the path shall be stored

Return value

Returns the path of the node icon

Errors

-

Description

This function returns the path of the node icon relative to the pictures folder in the installation or project directory.

main()
{
  DebugN(cns_getNodeTypeIcon("myNode"));
}

Availability

UI, CTRL