Forum Discussion
rraghvani
Champion Level 3
3 years agoYou have assigned the following project variable,
Project.Variable.Obj1 = Some Object
Then somewhere below, you want to assign Project.Variable.Obj1 to something else, using
def foo(projVarObj, propNames=[], propValues=[])):
projVarObj = MainWindow.Find(propNames, propValues, 1000, True)
projVarObj is different to Project.Variable.Obj1. If projVarObj is None, then it means the Find method was not able to find the object based on the criteria given for propNames and propValues.