Synopsis
PDX_MSGT gdx_MakeComponentNamesUnique(long option, int gdxModel, const char *defaultName)
Purpose
Make GDX components name unique
Description
The specified gdxModel will be traversed looking for GDX_COMPONENT entities. Each name (data field) will be compared to others for uniqueness. If a duplicate name is found, a copy of the name with a (#) suffix is appended. If the name is null, empty or blank and the defaultName is specified, this name will be used as the basis.
Input
option
Options (not used)
gdxModel
GDX model to process
defaultName
Name to use for null, empty or blank
Return
GDX_NOERR or error