|
| String | createTemplateFromSelection (String name, String &path) |
| | Creates template from the current selection in the scene, using only the current drawing versions. More...
|
| |
| void | useCreateTemplateSpecial (bool flag, bool addModellingDir=true, bool addScanFiles=true, bool includeDefaultCameraName=true) |
| | Allows 2 extra options in the template creation. More...
|
| |
| bool | pasteTemplateIntoScene (String &templateSrcPath, String &insertColumnName, int insertFrame) |
| | Pastes the template into the scene. More...
|
| |
| bool | pasteTemplateIntoGroup (String &srcPath, String &groupName, int insertFrame) |
| | Pastes the template into a group of the scene. More...
|
| |
| bool | pasteActionTemplateIntoNode (String &srcPath, String &nodeName, int insertFrame, QScriptValue &compositionOptions=QScriptValue()) |
| | Pastes the action template into the scene and excludes nodes that are in the list. More...
|
| |
| void | usePasteSpecial (bool flag) |
| | Enables PasteSpecial. More...
|
| |
| void | setExtendScene (bool flag) |
| | PasteSpecial Structure value. Default value is false. More...
|
| |
|
| void | setPasteSpecialCreateNewColumn (bool flag) |
| | PasteSpecial Structure value. Default value is false. More...
|
| |
| void | setPasteSpecialElementTimingColumnMode (String mode) |
| | PasteSpecial Structure value. Default value is "ELEMENT_AS_ELEMENT_AND_TIMING_AS_TIMING". More...
|
| |
|
| void | setPasteSpecialAddRemoveMotionKeyFrame (bool flag) |
| | PasteSpecial Structure value. Default value is true. More...
|
| |
| void | setPasteSpecialAddRemoveVelocityKeyFrame (bool flag) |
| | PasteSpecial Structure value. Default value is true. More...
|
| |
| void | setPasteSpecialAddRemoveAngleKeyFrame (bool flag) |
| | PasteSpecial Structure value. Default value is true. More...
|
| |
| void | setPasteSpecialAddRemoveSkewKeyFrame (bool flag) |
| | PasteSpecial Structure value. Default value is true. More...
|
| |
| void | setPasteSpecialAddRemoveScalingKeyFrame (bool flag) |
| | PasteSpecial Structure value. Default value is true. More...
|
| |
| void | setPasteSpecialForcesKeyFrameAtBegAndEnd (bool flag) |
| | PasteSpecial Structure value. Default value is true. More...
|
| |
| void | setPasteSpecialOffsetKeyFrames (bool flag) |
| | PasteSpecial Structure value. Default value is false. More...
|
| |
| void | setPasteSpecialReplaceExpressionColumns (bool flag) |
| | PasteSpecial Structure value. Default value is true. More...
|
| |
|
| void | setPasteSpecialDrawingAction (String &mode) |
| | PasteSpecial Structure value. Default value is "ADD_OR_REMOVE_EXPOSURE". More...
|
| |
| void | setPasteSpecialDrawingFileMode (String &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...
|
| |
| void | setPasteSpecialDrawingAutomaticExtendExposure (bool extendExposure, bool keyFrameMode) |
| | PasteSpecial Structure value. Default values are extendExposure : false, keyFrameMode: true. More...
|
| |
| void | setPasteSpecialColorPaletteOption (String &mode) |
| | PasteSpecial Structure value. Default value is "REUSE_PALETTES". More...
|
| |
|
| void | setPasteSpecialCopyScanFiles (bool copy) |
| | Set to true to copy the scan files associated to the selected drawings. More...
|
| |
| void | setPasteSpecialCopyModelDir (bool copy) |
| | Set to true to copy the model directory. More...
|
| |
| void | setPasteSpecialTVPreserveName (bool preserve) |
| | Set to true to keep timed values names intact, even if cloned i.e. Drawing(3). More...
|
| |
| void | setPasteSpecialDefaultCameraName (bool flag) |
| | Use this when you want the camera in a template to be set as default camera in the target scene. More...
|
| |
| void | setPasteSpecialMatchNodeName (bool flag) |
| | 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...
|
| |
| void | setPasteSpecialFullTransfer (bool flag) |
| | Use this when you want to control the paste of all non animate attributes and all local values of a node. More...
|
| |
| void | setStartFrameSrc (int startFrame) |
| | When pasting an external template or local content, this functions controls the start frame of the content that will be pasted. More...
|
| |
| void | setNumFramesSrc (int nFrames) |
| | When pasting an external template or local content, this functions controls the number of frames of the content that will be pasted. More...
|
| |
| CopyOptions * | getCurrentCreateOptions () |
| | Returns a copy of the current copy options. More...
|
| |
| PasteOptions * | getCurrentPasteOptions () |
| | Returns a copy of the current paste options. More...
|
| |
| DragObject * | copy (StringList &selectionOfNodes, int startFrame, int numFrames, CopyOptions *createOption) |
| | Create an object that represent a 'copy' of a selection of nodes and a range of frames. More...
|
| |
| bool | paste (DragObject *dragObject, StringList &selectionOfNodes, int startFrame, int numFrames, PasteOptions *pasteOptions) |
| | Pastes the drag object as an action template. Must paste over a selection of nodes. No new nodes are created by this action. More...
|
| |
| bool | pasteNewNodes (DragObject *dragObject, String &groupWhereToDrop, PasteOptions *pasteOptions) |
| |
| DragObject * | copyFromTemplate (String &filename, int startFrame, int numFrames, CopyOptions *createOption) |
| | Load a template from the file system onto a drag object, which can then be pasted onto the scene. More...
|
| |
The copyPaste JavaScript global object. Copy paste to/from templates. Note: 'Paste Special' options will only take effect if activated beforehand, usePasteSpecial() for more details.
| void copyPaste::setNumFramesSrc |
( |
int |
nFrames | ) |
|
|
slot |
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.
Warning: This paste option will only take effect after usePasteSpecial() is called with 'true', otherwise the default value will be used.
- Parameters
-
| nFrames | : The number of frames that the content will be pasted. |
| void copyPaste::setStartFrameSrc |
( |
int |
startFrame | ) |
|
|
slot |
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. Warning: This paste option will only take effect after usePasteSpecial() is called with 'true', otherwise the default value will be used.
- Parameters
-
| startFrame | : The frame to start at when pasting an external template or local content. |
| void copyPaste::usePasteSpecial |
( |
bool |
flag | ) |
|
|
slot |
Enables PasteSpecial.
This is a STATIC structure - once initialized it may be re-used for the duration of the session. By default, it is NOT used until usePasteSpecial(true) is called.
The structure defaults are:
NODE
- createNewColumn = false
- elementTimingColumnMode = "ELEMENT_AS_ELEMENT_AND_TIMING_AS_TIMING"
PEG
- Add/remove motion KF = true
- Add/remove velocity KF = true
- Add/remove angle KF = true
- Add/remove skew KF = true
- Add/remove scaling KF = true
- Force keyframes at functions beginning and end = true
- Offset keyframes = false
- Replace expression columns = true
DRAWING
- Drawing action = "ADD_OR_REMOVE_EXPOSURE"
PALETTE
SRC FRAMES
- Start frame source = 1 : Using start frame of the copied sequenced).
- Num frame source = 0 : Using 0 indicate to use the original length of the source.
If Drawing add/remove exposure is set, the following modes are available:
- Drawing file mode = "ALWAYS_CREATE" if the preference "LIBRARY_PASTE_CREATE_NEW_DRAWING" is set, otherwise it is ONLY_CREATE_IF_DOES_NOT_EXIST
- Automatically extend exposure = false
- Drawing as key frame = true ( note, only used if automatic extend exposure = true )
- Parameters
-
| flag | : true to enable PasteSpecial. |