def set_ovs_view(self, asset_data, view_name):
if not isinstance(asset_data, DataInputStream):<EOL><INDENT>raise InvalidArgument('<STR_LIT>' +<EOL>'<STR_LIT>')<EOL><DEDENT>if view_name not in ['<STR_LIT>', '<STR_LIT>', '<STR_LIT>']:<EOL><INDENT>raise InvalidArgument('<STR_LIT>')<EOL><DEDENT>self.clear_file(view_name)<EOL>self.add_file(asset_data,<EOL>label=view_name,<EOL>asset_type=OV_ASSET_TYPE,<EOL>asset_content_type=OV_ASSET_CONTENT_TYPE)<EOL>
view_name should be frontView, sideView, or topView