To begin with, the value type must be defined to the node. To do this, i have linked manuelly a picture with a wall.

According to the screenshot, the node accepts only ElementType from the category Image.
This type is called ImageType. You can look up how ImageType can be created here:
Using this documentation I have written a python script.

As output the python node returns an image converted into ImageType that can be futher used to set the parameter.
Hey Meychick,
I tried piecing this together different ways. I’m getting the Python Script error code below.
Warning: IronPythonEvaluator.EvaluateIronPythonScript operation failed.
Traceback (most recent call last):
File “”, line 25, in
TypeError: expected ExternalResourceReference, got Bitmap
On a side note I was able to get the QR codes to populate in some folders.
If we can get both done in one script I think It’d help a lot of people out.
This is my first attempt in Dynamo so I appreciate the help!
You should be feeding it the image path so that it can create a new ImageType within your project.





