OMC::CopyOptions Class Reference

Detailed Description

Copy Options used in copy methods within OMC::Clipboard.

Public Member Functions

 CopyOptions (const QVariant &options)
 Generate a Copy_Option object from an argument object. More...
 

Public Attributes

bool add_modelling_dir
 Set to true to copy the modeling directory into the template.
 
bool add_scan_files
 Set to true to copy the scan files associated to the selected drawings.
 
bool include_default_camera_name
 Use this when you want the camera in a template to be set as default camera in the target scene. More...
 

Constructor & Destructor Documentation

◆ CopyOptions()

OMC::CopyOptions::CopyOptions ( const QVariant &  options)

Generate a Copy_Option object from an argument object.

Generates a Copy_Option object from an object argument in the form: { "add_modelling_dir" : True, "addScanFiles" : True, "include_default_camera_name" : True }

Member Data Documentation

◆ include_default_camera_name

bool OMC::CopyOptions::include_default_camera_name

Use this when you want the camera in a template to be set as default camera in the target scene.

Note
This is not necessary if there is no camera assigned in the target scene, as the incoming camera will automatically be set as default camera.
Inheritance diagram for OMC::CopyOptions:
Collaboration diagram for OMC::CopyOptions: