PasteOptions Class Reference

The JavaScript class for getting or setting the model directory, the scan files and the default camera name flags when pasting. Obtain from the copyPaste global object. More...

Properties

bool extendScene
 
bool defaultCameraName
 
bool createNewColumn
 
String elementMode
 
bool addRemoveMotionKeyFrame
 
bool addRemoveVelocityKeyFrame
 
bool addRemoveAngleKeyFrame
 
bool addRemoveSkewKeyFrame
 
bool addRemoveScalingKeyFrame
 
bool forceKeyframeAtBeginningAndEnd
 
bool offsetKeyFrame
 
bool replaceExpressionColumns
 
String drawingPasteAction
 
String drawingFileMode
 
bool autoExtendExposure
 
bool drawingSubstitution
 
String colourPalette
 
bool copyScanFiles
 
bool copyModelsDir
 
bool preserveColumnName
 
bool actionTemplateMode
 
bool fullTransfer
 
int startFrameSource
 
int numberOfFramesSource
 
int startDeleteFrame
 
bool matchNodeName
 
String writeMode
 set the write mode. Value strings: INSERT,OVERWRITE, DO_NOTHING. Default: OVERWRITE ) More...
 
String deleteMode
 set the delete mode. Value strings : REMOVE, EMPTY, DELETE_NOTHING. Default: DELETE_NOTHING ) More...
 

Detailed Description

The JavaScript class for getting or setting the model directory, the scan files and the default camera name flags when pasting. Obtain from the copyPaste global object.

var myPasteOptions = copyPaste.getCurrentPasteOptions();
myPasteOptions.extendScene = false;
myPasteOptions.defaultCameraName = true;
copyPaste.paste(dragObject, selectionOfNodes, startFrame, numFrames, myPasteOptions);

Property Documentation

◆ actionTemplateMode

bool PasteOptions::actionTemplateMode
readwrite

◆ addRemoveAngleKeyFrame

bool PasteOptions::addRemoveAngleKeyFrame
readwrite

◆ addRemoveMotionKeyFrame

bool PasteOptions::addRemoveMotionKeyFrame
readwrite

◆ addRemoveScalingKeyFrame

bool PasteOptions::addRemoveScalingKeyFrame
readwrite

◆ addRemoveSkewKeyFrame

bool PasteOptions::addRemoveSkewKeyFrame
readwrite

◆ addRemoveVelocityKeyFrame

bool PasteOptions::addRemoveVelocityKeyFrame
readwrite

◆ autoExtendExposure

bool PasteOptions::autoExtendExposure
readwrite

◆ colourPalette

String PasteOptions::colourPalette
readwrite

◆ copyModelsDir

bool PasteOptions::copyModelsDir
readwrite

◆ copyScanFiles

bool PasteOptions::copyScanFiles
readwrite

◆ createNewColumn

bool PasteOptions::createNewColumn
readwrite

◆ defaultCameraName

bool PasteOptions::defaultCameraName
readwrite

◆ deleteMode

String PasteOptions::deleteMode
readwrite

set the delete mode. Value strings : REMOVE, EMPTY, DELETE_NOTHING. Default: DELETE_NOTHING )

◆ drawingFileMode

String PasteOptions::drawingFileMode
readwrite

◆ drawingPasteAction

String PasteOptions::drawingPasteAction
readwrite

◆ drawingSubstitution

bool PasteOptions::drawingSubstitution
readwrite

◆ elementMode

String PasteOptions::elementMode
readwrite

◆ extendScene

bool PasteOptions::extendScene
readwrite

◆ forceKeyframeAtBeginningAndEnd

bool PasteOptions::forceKeyframeAtBeginningAndEnd
readwrite

◆ fullTransfer

bool PasteOptions::fullTransfer
readwrite

◆ matchNodeName

bool PasteOptions::matchNodeName
readwrite

◆ numberOfFramesSource

int PasteOptions::numberOfFramesSource
readwrite

◆ offsetKeyFrame

bool PasteOptions::offsetKeyFrame
readwrite

◆ preserveColumnName

bool PasteOptions::preserveColumnName
readwrite

◆ replaceExpressionColumns

bool PasteOptions::replaceExpressionColumns
readwrite

◆ startDeleteFrame

int PasteOptions::startDeleteFrame
readwrite

◆ startFrameSource

int PasteOptions::startFrameSource
readwrite

◆ writeMode

String PasteOptions::writeMode
readwrite

set the write mode. Value strings: INSERT,OVERWRITE, DO_NOTHING. Default: OVERWRITE )