for what I know "display" is not a simple command, but is used with a recorder of type "display", something like this...
Try to look among the examples and use the script DisplayModel3D, with the other DisplayPlane. It's a good tool to look at the model deformed shape or modeShape.