6.1.9.1 Methods Defined Here
take_snapshot( file_name = 'Snapshot', path = '', view_mode = shaded, components = False )
Takes a snapshot of the model, using model viewer 2, and saves it to disk as a png image.
Parameters:
file_name
|
(string) output filename. Extension .png will be added automatically
|
path
|
(string) location where to save file. Empty string ('') means current project folder
|
view_mode
|
(mv2_viewmode enum) rendering mode
|
components
|
(Bool) True to include components, else False. Component viewmode will force components on.
|
If path or file_name are specified, the caller is responsible for making sure they are valid.