// For complete examples and data files, please go to https://github.com/aspose-words/Aspose.Words-for-.NET
foreach (Shape shape in doc.GetChildNodes(NodeType.Shape, true))
    if(shape.HasSmartArt)
        shape.UpdateSmartArtDrawing();