Python Scripting
10 topics in this forum
-
Hi I am trying to install workflow 10.2.1 on a MacBook Pro 2.6 GHz 6-Core Intel Core i7 running Monterey but I get this error Error running /usr/bin/python -V: /bin/sh: /usr/bin/python: No such file or directory
-
- 1 reply
- 814 views
-
-
This example is the same as but this time, we will create the workflow during the execution of another workflow with a python node. Please Note you will need Wf Version 10.4.1 or later to execute this code The behaviour will be very silimar to the previous example, but in this case, 3 properties are added to the node to parametrize them; wfName: to store the name to use when creating the new workflows inputFile: to set the input file path ftpDst: to set the final ftp destination the node will also check that the inputFile exists before allowing you to execute the workflow So, with those changes, the pyt…
-
- 0 replies
- 1.5k views
- 1 follower
-
-
Hi all, Here you have a small example to illustrate how to create workflows using Py scripting In this example, the created workflow will look like this: Code: # imports used in the example import Mistika from Mistika.classes import CbaseItem from Mistika.classes import Cconnector from Mistika.QtCore import QPointF #create the example workflow wf=Mistika.workflows.addWorkflow("My Test") # creates a workflow file=wf.importFile("G:/MATERIAL/formatos/EXR/CU_BIC_FX008_BICHA_V3_0035.exr",True) #automatically create a node from a file (the node created depends on the file type (It is similar to dropin…
-
- 0 replies
- 1.4k views
- 1 follower
-
-
Hola, Tengo un archivo Arri en bruto y estoy intentando aƱadirle otros metadatos a medida que vienen de un archivo .csv. El formato de salida quiero que sea un .EXR con los metadatos combinados. Los relativos al archivo Arri que Workflows es capaz de interpretar + los que tengo en el archivo .csv. Hay alguna forma de poder operar con los metadatos de esta forma? Gracias
-
- 1 reply
- 1.2k views
-
-
Hi all, We have created a Py examplenode to upload videos to youtube as part of the Mistika Workflows process. It will be included in the next Open Beta. Meanwhile, in order to help users/developers to use it and understand the code, let me explain the code: In order to use it, you may need to install the following py modules in your system (if they are not installed already): google-api-python-client oauth2client httplib2 argparse the initialization function: def init(self): self.addConnector("File",Cconnector.CONNECTOR_TYPE_INPUT,Cconnector.MODE_REQUIRED) self.addConnector("Output",Cconnector.CONNECTOR_TYP…
-
- 1 reply
- 1.9k views
-
-
Some things I have noticed in script editor: when autocomplete offers completion string and I accidentally type a lowercase character (that is the same as in string with different case), autocomplete will concatenate whole string, not just the part needed. For example, typing PythonQtd will offer PythonQtDebugAPI, but pressing enter results in concatenated wrong string: PythonQtdPythonQtDebugAPI for convenience: commands like print etc could use different, lighter color schema for syntax highlight, they are very hard to read on dark gray background; for convenience: when typing a command and autocomplete offers something, pressing tab could also apply t…
-
- 4 replies
- 2.3k views
-
-
Not directly python questions, rather about overall architecture of workflows. What kind of data is passed from node to node? Lets say I have a ExrFile input connected to prores process node. One of them is decoder, another encoder. So how exactly does image data move between them? And is there way to intercept it (the actual image data) with Python? What is the order or operations for executing nodes when processing? Lets say I want to modify the url of some input node with python. How can I accomplish this? I can't add python node in front of input node and placing it separately or after it does not execute it before...
-
- 4 replies
- 2.1k views
- 1 follower
-
-
Are there methods to read metadata from actual file, lets say I have a Prores or exr input, can I somehow access all the meta in file?
-
- 1 reply
- 1.5k views
-
-
Hi Guys, This Google doc contains an introduction to the Mistika Workflows Script Editor Introduction to Mistika Workflows Script Editor It is still a draft document for the beta version. Please provide your feedback in reply to this post...
-
- 0 replies
- 1.2k views
- 1 follower
-
-
Hi all, here you have a simple example of Py node with comments to help you understanding how to create your own Nodes: First, lets see the whole example: from Mistika.classes import Cconnector def init(self): self.addConnector("myInput",Cconnector.CONNECTOR_TYPE_INPUT,Cconnector.MODE_REQUIRED) self.addConnector("myOutput",Cconnector.CONNECTOR_TYPE_OUTPUT,Cconnector.MODE_OPTIONAL) self.addProperty("myProperty","default value") return True def isReady(self): return True def process(self): i=self.firstConnectorByName("myInput") o=self.firstConnectorByName("myOutput") print "input: "+i.url() print i.uni…
-
- 0 replies
- 1.6k views
- 1 follower
-