DG_CHANGE_CNODE_SYMBOL

Syntax

int_val = DG_CHANGE_CNODE_SYMBOL ( object_h, node_number, symbol_name[, image, type_image] );
Input arguments
handle object_h The handle of the diagram object that owns this node.
int node_number The node number.
string symbol_name The name of the DW symbol. The value should be a valid symbol name found in the symbol library.
Optional input arguments
handle image The handle of the record image of the owner object where any database changes will be applied. If this argument is not specified, changes will be made directly to the database.
handle type_image The handle of the record type image of the owner object where any database changes will be applied. If this argument is not specified, changes will be made directly to the database.

Return Values

Success:
int 0 Success.
Failure:
int -1 Script interface error.

Description

This function changes the symbol of a connection node. The optional image arguments should be used if database changes are needed and this function is called from a set_defaults function like CHECK_DATA. See the 'set_defaults' script.