This script shows how to generate pictures of all model views and include them in a word or htm report. There are three pictures for each model view ("Modelling - All", "Modelling - Transparent", "Mesh - All".

 
 
 
 

The files Model_for_model_views_in.js and Report_loop_over_modelviews.js will recreate the enclosed reports Model_views_report.doc and Model_views_report.htm.

You can easily add other views like e.g. "Modelling - Structure" by editing the script file Report_loop_over_modelviews.js.

The pictures in this example have been created with high resolution. If you want a higher or lower resolution you edit the pixel data in the script file.

If you make your own model it must contain at least one model view to create a report. A model view is made as follows: