if (penMaybe.isDefined()) {
PlotPenInterface pen = penMaybe.get();
pen.isDown_$eq(readBoolean(line[1]));
pen.mode_$eq((int) readNumber(line[2]));
pen.interval_$eq(readNumber(line[3]));
pen.color_$eq(org.nlogo.api.Color.getARGBbyPremodulatedColorNumber
(readNumber(line[4])));
pen.x_$eq(readNumber(line[5]));
} else {
errorHandler.showError("Error Importing Plots",
"The pen \"" + value + "\" does not exist.", false);