While a script is running and moving between models, modules, parts, and assemblies, you can control the contents of specified viewports. The contents can be one of the following:
A part
The assembly
A sketch
Data from an output database
An X–Y plot
Empty
You use the following command to change the contents of a specified viewport:
session.viewports[name].setvalues(displayedObject=object)The displayedObject argument can be a Part, Assembly, Sketch, Odb, or XYPlot object or None. If displayedObject=None, ABAQUS/CAE displays an empty viewport. For more information, see setValues, Section 8.2.20 of the ABAQUS Scripting Reference Manual.