transformName is called at the addToScene(Async) moment to transform the name of an instance to another name.
This should be useful to replace various shapes by others like in a shape-template. The function is called with the name of the shape and the user must return the new name of the shape. NB: This is called after the 'startAddingIG' calls in the IIGAddBegin callback -
Parameters:
-
Name |
is the name of the shape contained in the instance group |
-
Returns:
-
the new name of the shape which must be loaded in place of the param
|