I'm learning NX Open in Unigraphics NX 4. Whenever I use a function that returns a vector the plugin crashes when the vector goes out of scope. Some of the code I'm working with is:
for(NXOpen::SketchCollection::iterator i = sketches->begin(); i != sketches->end(); ++i)
{...