OrsMacroPlayer¶
Plugin used to record and play macros
| author: | ORS Team |
|---|---|
| contact: | http://theobjects.com |
| email: | info@theobjects.com |
| organization: | Object Research Systems (ORS), Inc. |
| address: | 760 St-Paul West, suite 101, Montréal, Québec, Canada, H3C 1M4 |
| copyright: | Object Research Systems (ORS), Inc. All rights reserved. |
| date: | July 2017 |
| dragonflyVersion: | |
| 3.0 | |
| UUID: | 9ee31aae761511e7b35d448a5b5d70c0 |
Class Code¶
-
class
OrsPythonPlugins.OrsMacroPlayer.OrsMacroPlayer.OrsMacroPlayer(varname=None, managed=True)¶ -
classmethod
OrsMacroPlayer_openGUI()¶
-
UIDescriptors= [<ORSServiceClass.OrsPlugin.uidescriptor.UIDescriptor object>]¶
-
applyModificationToDeclaredVariable(blockIndex, declaredVariable, newState, newVariableValue=None)¶
-
canContinueRecording()¶
-
canDeleteBlock(blockIndex)¶
-
canPauseRecording()¶
-
canRefreshFile()¶
-
canSetDeclaredVariables(blockIndex)¶
-
canSetMuted(blockIndex)¶
-
canSetPauseBeforeExecution(blockIndex)¶
-
canStartRecording()¶
-
canStopRecording()¶
-
clearMacro()¶
-
closable= True¶
-
closeWidget(name)¶
-
classmethod
contextualMenuStartMacrosFromSelection(listSelectedObjectsRepr)¶
-
continueRecording()¶
-
defineVariables(dictVariables)¶
-
defineVariablesFromSelection(listSelectedObjects)¶
-
deleteBlock(blockIndex)¶
-
deleteMacro(fullname)¶
-
deletePlugin(aWidget=None)¶
-
executeMacro(runFullMacro=True, automaticSelectionSingleElement=False)¶
-
classmethod
getAbout()¶
-
getAssignationStateOfDeclaredVariable(blockIndex, declaredVariable)¶
-
getAssignedValueToDeclaredVariable(blockIndex, declaredVariable)¶
-
getBlockCount()¶
-
getBlockIndexInExecution()¶
-
getCurrentMacroBibliographyModel()¶
-
getDeclaredInputVariableDescriptors(blockIndex)¶
-
getDeclaredVariablesAssignedBeforeBlock(blockIndex)¶
-
getIsAssignmentToDeclaredVariableModified(blockIndex, declaredVariable)¶
-
getIsMacroPlayingInExecution()¶
-
getIsMacroRecordingInExecution()¶
-
getIsMuted(blockIndex)¶
-
getLastError()¶
-
getMacroInfo(blockIndex)¶
-
getMacroTitle(blockIndex)¶
-
getOriginalMacroBibliographyModel()¶
-
getPauseBeforeExecution(blockIndex)¶
-
getState()¶
-
getVariablesToDefine()¶
-
interruptMacroWhileRunning()¶
-
isRecordingPaused()¶
-
isThereAnError()¶
-
keepAlive= False¶
-
multiple= True¶
-
classmethod
openGUI()¶
-
openWidget(name, dock=None, tab=None, x=-1, y=-1, w=-1, l=-1, order=-1)¶
-
pauseRecording()¶
-
refreshFile()¶
-
revertModificationToDeclaredVariable(blockIndex, declaredVariable)¶
-
savable= False¶
-
saveAsNewMacro(macroPath)¶
-
saveMacroAs(fullname)¶
-
setCallbackMethodToUpdateDefinedVariablesWidgets(aMethod)¶
-
setIsMuted(blockIndex, isMuted)¶
-
setMacroFromPath(macroPath)¶
-
setMacroInfo(blockIndex, info)¶
-
setMacroTitle(blockIndex, title)¶
-
setPauseBeforeExecution(blockIndex, pauseBeforeExecution)¶
-
setState(state)¶
-
shouldLastErrorBeGivenToTheUser()¶
-
classmethod
startMacroOnSelection(macroPath, listSelectedObjectsGUID)¶ Method called from the contextual menu item to start an instance of the current plugin and start the execution of a specific macro with variables set from the selection. The UI will be shown only if a user interaction is required.
Parameters: - macroPath – path of the macro to execute
- listSelectedObjectsGUID – string representation of the selected objects
-
startRecording(macroFullFilename, writeBlockStartEndTime)¶
-
stopPlaying()¶
-
stopRecording()¶
-
classmethod
toolsMenu()¶
-
updateMacroCache(macroPaths=None)¶
-
classmethod