Get shape id from Timeline

Hi, Aspose. I’m trying to get the Id of animated shape and i can’t figure out how to do it correctly. Could you advise?
I’m trying to do something like:
using (Presentation pres = new Presentation)
{
var slide = pres.Slides.AddEmptySlide(pres.LayoutSlides[0]);
var shape = slide.AddAutoShape(ShapeType.RoundCornerRectangle, 100, 100, 100, 100);
slide.TimeLine.MainSequence.AddEffect(shape, EffectType.Appear, EffectSubtype.None, EffectTriggerType.OnClick);
//and then i’m trying to find the ID of this shape in one of TimeLine properties
uint shapeId = slide.TimeLine.MainSequence[0].shapeId;
}

I think i found a way:
foreach (IShape in shapes)
{
var animation = slide.Timeline.MainSequence.GetEffectsByShape(shape);
}
thanks anyway

@obrusentsov,

It’s good to know thing are fine in your end. Please share if we help you further in this regard.