OMget_uniq_name


Synopsis


OMobj_name  OMget_uniq_name (
OMobj_id  parent,
OMobj_name suggested_name,
NULL  );

Description

OMget_uniq_name returns an object name that is unique among parent 's immediate subobjects. You supply a suggested name. The returned name is either the suggested name or, if the name already exists in parent , the suggested name with # n appended.

Arguments

parent

The id of an object.

suggested_name

The suggested object name.

NULL

The third argument must be NULL.

Returned value

The unique object name.