If the value of parameter is True, the function
returns the real instance number of the picture (in some cases it is
generated automatically by system and it is differing from the
required number).
If the value of parameter is False, the function returns
required number of instance.
Description
The displayer is defined by the parameter refId.
If there is no connected object, the return value is 0.