Shape name changes

Hello,
When I insert a master shape on a page, the name of the shape is no longer the same as before.

Example: If I insert a shape with the name MyShape, this shape is then called MyShape.1

For my application, however, it is very important that I can subsequently address a shape with its original name.
Visio itself normally only renames shape names if a shape with the same name already exists. But this is not the case for me.

How can I use Aspose.Diagram to insert a master shape on a page without changing the shape name?

regards
Steve

Samplecode:

Diagram diagram = new Diagram();
diagram.AddMaster("Templates.vssx", "MyShape");
Aspose.Diagram.Master master = diagram.Masters.GetMasterByName("MyShape");

Aspose.Diagram.Page newPage = new Aspose.Diagram.Page();
newPage.Name = "GeneratedByAspose";

diagram.Pages.Add(newPage);
long shapeId = newPage.AddShape(0, 0, "MyShape");

// center the shape
Aspose.Diagram.Shape masterShape = newPage.Shapes.GetShape(shapeId);
masterShape.XForm.PinX.Value = newPage.PageSheet.PageProps.PageWidth.Value / 2;
masterShape.XForm.PinY.Value = newPage.PageSheet.PageProps.PageHeight.Value / 2;

// save file
diagram.Save("Output.vsdx", SaveFileFormat.Vsdx);

@sgruth
We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): DIAGRAMNET-53756

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

The issues you have found earlier (filed as DIAGRAMNET-53756) have been fixed in this update. This message was posted using Bugs notification tool by philip.zhou