Jump to content

Using value of a document property as a parameter in an IronPython script.


Grant Baker

Recommended Posts

I am trying to use the value that one document property holds as a parameter in a script for a separate document property. I want to check the value of the document property using an if statement, but I am not sure of the syntax to check the value of the property. The code would look something like:

if DocumentPropertyA == X

.......

if DocumentPropertA == Y

.........

and so on.

Does anyone know how I can call in a document property and use an if statment to check its value without getting a syntax error

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...