package com.aspose.slides.examples.SmartArt;

import com.aspose.slides.IShape;
import com.aspose.slides.ISmartArt;
import com.aspose.slides.ISmartArtNode;
import com.aspose.slides.Presentation;
import com.aspose.slides.SaveFormat;
import com.aspose.slides.SmartArt;
import com.aspose.slides.examples.Utils;

public class CheckingAssistantNodesInSmartArtShapes {

	public static void main(String[] args) {

		// The path to the documents directory.
		String dataDir = Utils.getDataDir(CheckingAssistantNodesInSmartArtShapes.class);

		// Creating a presentation instance
		Presentation pres = new Presentation(dataDir + "AddNodes.pptx");

		// Traverse through every shape inside first slide
		for (IShape shape : pres.getSlides().get_Item(0).getShapes()) {
			// Check if shape is of SmartArt type
			if (shape instanceof ISmartArt) {
				// Typecast shape to SmartArtEx
				ISmartArt smart = (SmartArt) shape;

				// Traversing through all nodes of SmartArt shape
				for (int i = 0; i < smart.getAllNodes().size(); i++) {
					ISmartArtNode node = smart.getAllNodes().get_Item(i);

					String tc = node.getTextFrame().getText();

					// Check if node is Assistant node
					if (node.isAssistant()) {
						// Setting Assistant node to false and making it normal
						// node
						node.isAssistant();
					}
				}
			}
		}
		// Save Presentation
		pres.save(dataDir + "ChangeAssitantNode.pptx", SaveFormat.Pptx);

	}

}

@@ -1259,25 +1259,16 @@
 t normal
-%0A%09%09%09%09%09%09//
  node%0A%09%09

Update CheckingAssistantNodesInSmartArtShapes.java