C++ (Qt)SInt32 PluginCommand( UInt32 theCommand, .. ){ switch (theCommand) { case commandCreateGeometry: for (size_t i = 0; i < N; ++i) { if (GetObjectStatus(dstObject) != noErr) return code_Aborted; AddVertex(dstObject, i, ...); } return noErr;...}