Lesson 15

We have seen dictionaries and lists. Now we will talk about tuples and how to retrieve all kinds of information that PSP has and that you can use in scripts. Be patient, as it might be a little confusing at first. With practice, it will be easier.

(27 minutes)

If this video is causing you issues, here is a copy on YouTube: https://youtu.be/3tGG1jSjgKw (please, do not share)

Even if you don't "understand" all the information that PSP stores, you need to understand how to get it. It is like learning how to find a book on the shelves of a library. There is a system, and understanding the system will give you access to everything that would otherwise be "hidden".

Assignment:

The command to get Layers properties is this one

App.Do( Environment,'ReturnLayerProperties')

You should know how to use it and create your own script, right? This is a tiny bit ahead as we will dig deeper into this in the next lesson!

The forum thread is here.