OMC::PasteOptions Class Reference

Detailed Description

Paste options used in pasting with OMC::Clipboard.

Public Member Functions

 PasteOptions (const QVariant &options)
 

Public Attributes

bool use_paste_special
 Enables Paste Special mode that employs special paste options.
 
bool usePasteSpecial
 
bool extend_scene
 Extends the scene based on pasted content. More...
 
bool extendScene
 
bool create_new_column
 Create new columns for the pasted content. Default is false.
 
bool createNewColumn
 
QString element_timing_column_mode
 PasteSpecial Structure value. Default value is ELEMENT_AS_ELEMENT_AND_TIMING_AS_TIMING. More...
 
bool add_remove_motion_keyframe
 PasteSpecial Structure value. Default value is true.
 
bool add_remove_velocity_keyframe
 PasteSpecial Structure value. Default value is true.
 
bool add_remove_angle_keyframe
 PasteSpecial Structure value. Default value is true.
 
bool add_remove_skew_keyframe
 PasteSpecial Structure value. Default value is true.
 
bool add_remove_scaling_keyframe
 PasteSpecial Structure value. Default value is true.
 
bool force_beginning_end_keyframe
 PasteSpecial Structure value. Default value is true.
 
bool offset_keyframes
 PasteSpecial Structure value. Default value is false.
 
bool replace_expression_columns
 PasteSpecial Structure value. Default value is true.
 
bool tv_preserve_name
 Set to true to keep timed values names intact, even if cloned i.e. Drawing(3).
 
bool match_node_name
 Use this when you want to paste a template and use the actual node names for matching nodes instead of basic algorithm of composition order. More...
 
bool full_transfer
 Use this when you want to control the paste of all non animate attributes and all local values of a node. More...
 
QString drawing_action
 PasteSpecial Structure value. Default value is ADD_OR_REMOVE_EXPOSURE. More...
 
QString drawing_file_mode
 PasteSpecial Structure value. Default value is ALWAYS_CREATE if LIBRARY_PASTE_CREATE_NEW_DRAWING is set, otherwise it is ONLY_CREATE_IF_DOES_NOT_EXIST. More...
 
bool keyframe_mode
 PasteSpecial Structure value. Default value is true.
 
QString color_palette_mode
 PasteSpecial Structure value. Default value is REUSE_PALETTES. More...
 
QString write_mode
 set the write mode. Value strings: INSERT,OVERWRITE, DO_NOTHING. Default: OVERWRITE )
 
QString delete_mode
 set the delete mode. Value strings : REMOVE, EMPTY, DELETE_NOTHING. Default: DELETE_NOTHING )
 
bool camera_name_transfer
 PasteSpecial Structure value. Default value is false.
 
bool copy_modelling_dir
 Set to true to copy the modeling directory into the template.
 
bool copy_scan_files
 Set to true to copy the scan files associated to the selected drawings.
 
int start_frame_src
 When pasting an external template or local content, this functions controls the start frame of the content that will be pasted. More...
 
int num_frame_src
 When pasting an external template or local content, this functions controls the number of frames of the content that will be pasted. More...
 
bool drawing_extend_exposure
 Set to true to copy the modeling directory into the template.
 
bool drawing_subsitution
 Set to true to copy the scan files associated to the selected drawings.
 
bool action_template
 Identify if the paste is using the action-template mode.
 

Member Data Documentation

◆ color_palette_mode

QString OMC::PasteOptions::color_palette_mode
readwrite

PasteSpecial Structure value. Default value is REUSE_PALETTES.

Acceptable Strings are: DO_NOTHING REUSE_PALETTES COPY_AND_OVERWRITE_EXISTING_PALETTES COPY_AND_CREATE_NEW_PALETTES COPY_AND_CREATE_NEW_PALETTES_IN_ELEMENT_FOLDER COPY_PALETTE_AND_MERGE_COLOURS COPY_PALETTE_AND_UPDATE_COLOURS LINK_TO_ORIGINAL COPY_SCENE_PALETTE_AND_MERGE_COLOURS COPY_SCENE_PALETTE_AND_UPDATE_COLOURS

◆ drawing_action

QString OMC::PasteOptions::drawing_action
readwrite

PasteSpecial Structure value. Default value is ADD_OR_REMOVE_EXPOSURE.

Drawings action Acceptable Strings are: DO_NOTHING ADD_OR_REMOVE_EXPOSURE UPDATE_PIVOT

◆ drawing_file_mode

QString OMC::PasteOptions::drawing_file_mode
readwrite

PasteSpecial Structure value. Default value is ALWAYS_CREATE if LIBRARY_PASTE_CREATE_NEW_DRAWING is set, otherwise it is ONLY_CREATE_IF_DOES_NOT_EXIST.

Sets the drawing file mode - only used if the DrawingAction is set to ADD_OR_REMOVE_EXPOSURE Acceptable Strings are: NEVER_CREATE ONLY_CREATE_IF_DOES_NOT_EXIST ALWAYS_CREATE ALWAYS_CREATE_AND_VERSION_IF_NECESSARY REPLACE_EXISTING

◆ element_timing_column_mode

QString OMC::PasteOptions::element_timing_column_mode
readwrite

PasteSpecial Structure value. Default value is ELEMENT_AS_ELEMENT_AND_TIMING_AS_TIMING.

Sets the paste special elementtiming mode for calls to pasteTemplateIntoScene Acceptable strings are:

ELEMENT_AS_ELEMENT_AND_TIMING_AS_TIMING ALL_DRWGS_AS_ELEMENTS ALL_DRWGS_LINKED_THRU_TIMING_COLS

◆ extend_scene

bool OMC::PasteOptions::extend_scene

Extends the scene based on pasted content.

Extend the scene based on the length of the incoming pasted content. Default is false.

◆ full_transfer

bool OMC::PasteOptions::full_transfer

Use this when you want to control the paste of all non animate attributes and all local values of a node.

The default is true.

◆ match_node_name

bool OMC::PasteOptions::match_node_name

Use this when you want to paste a template and use the actual node names for matching nodes instead of basic algorithm of composition order.

In this mode, it is important to make sure that all nodes of the template are found in the destination's group.

◆ num_frame_src

int OMC::PasteOptions::num_frame_src

When pasting an external template or local content, this functions controls the number of frames of the content that will be pasted.

The default number of frames is 0, which effectively turn off this override feature and make it paste the entire copied content length. Set this length to anything >0 to override the number of frames pasted.

Must be using the paste special mode.

◆ start_frame_src

int OMC::PasteOptions::start_frame_src

When pasting an external template or local content, this functions controls the start frame of the content that will be pasted.

The default start frame is 1, which means that it will be pasting starting from the first frame of the copied content. Set this to a value >= 1 to specific the frame to use as a starting frame. Must be using the paste special mode.

Inheritance diagram for OMC::PasteOptions:
Collaboration diagram for OMC::PasteOptions: