This is the overall workflow for my model. Nine groups of nodes were used to create this structure. Groups 2 through 5 were discussed in my module 3 post and were only slightly modified.
These were the variables that can be changed in the structure. The panels on the surface can be changed in the X and Y structure. The image can be flipped vertically or horizontally or both.
The surface is split into a grid so that panels could be easily added to the structure.
The group gets the pixels from the file by selecting it from the computer and creating a path it to read the pixel color.
This allows for the image to be flipped horizontally and vertically and both. These options along with the original are then put into a list.
Finally, this group allows for the true/false nodes to work properly. Depending on the true/false of the two nodes a number will be generated to index the list created in group 8 to get the correct list. Then using that list the colors will be mapped to Revit.