Upgrading version 20.3 to 20.4 changed the way Shapes are added to Pages

namespace TestAspose
{
    class Program
    {
        static void Main(string[] args)
        {
            var vssPath = "C:\\vsdTest\\test.vssx";
            // create a new diagram
            var diagram = new Diagram(vssPath);

            // add a new dynamic connector
            diagram.AddMaster(vssPath, "3DDynamic connector");
            long shapeId = diagram.Pages[0].AddShape(4.25, 5.5, 2, 1, "3DDynamic connector");
            var shape = diagram.Pages[0].Shapes.GetShape(shapeId);

            // save the diagram in VDX format
            diagram.Save("output.vsdx", SaveFileFormat.VSDX);
            Console.WriteLine("Hello World!");
        }
    }
}

The code above add a shape to a page. With the version 20.3 of Aspose.Diagram, the shape returned by diagram.Pages[0].Shapes.GetShape(shapeId); had an attribute Geoms which was a list with a Count equal to 1. In version 20.4 and above, the count is equal to 0 which prevents me from changing the Shape geoms. When drawn, the geometry will apear. If I try to add another Geom object manually, 2 geometry will appear in Visio. See picture.
image.png (5.3 KB)

Is this behaviour intended?

Thank you for the help

@llesage

Could you please share the sample stencil file with us so that we can test the scenario in our environment and address it accordingly. Please also try using Aspose.Diagram for .NET 21.2 before sharing the requested file.

We opened a new issue with more details
See Bug with Geoms from 20.3

We can close this thread.