cns_setNodeTypeValue
Sets the value of the given node type.
Synopsis
int cns_setNodeTypeValue(string sNodeType, int iNodeTypeValue);
Parameters
Parameter | Description |
---|---|
sNodeType | ID of the node type |
iNodeTypeValue | Value of the node type |
Return value
Returns 0 if successful or a corresponding error code in case of an error.
Errors
Possible errors:
-
-1 => The node type does not exist
Description
This function sets the value of the given node type.
main()
{
cns_setNodeTypeValue("nodeType_1", 5);
}
Availability
UI, CTRL