Problem on hiding paintField (AIArtStyleParserSuite::SetPaintFieldVisible)
Hi, I'm coding with Illustrator SDK CC 2015 on Visual Studio 2013. I had a problem processing multiple strokes on a PathArt. When I try to hide one of the strokes, I found that the most appropriate function AIArtStyleParserSuite::SetPaintFieldVisible didn't take effect at all. It was not working on the SnippetRunner sample in the SDK either. Attached is the code. When I call GetPaintFieldVisible right after setting visible=false, the output of visible is true. Could anyone please tell me the possible reason?
AIBoolean visible = false;
sAIArtStyleParser->SetPaintFieldVisible(artStyle, paintField, visible);
sAIArtStyleParser->GetPaintFieldVisible(paintField, &visible);
of << "visible " << i << " " << visible << endl;