The measure I wrote doesn't work
Dear all,
Now I am trying to develop a measure to change the dirt correction value to be used in PAT. Actually, I am not a trained programmer but in this project using OS, I have to program some codes. So, this question might be just the basic one for Ruby coding, but I need someone's help.
When my measure is ran, the error message was shown "Error: wrong number of arguments (0 for 1)". This pointed the line of "xxx=workspace.getStandardGlazing" has problems.
I think, maybe, this is because there's no function ".getStandardGlazing". (I wrote this statement, because I found that .getStandardOpaqueMaterials worked in another measure, and there's a class "StandardGlazing" stated at this page.)
Here, my questions are:
- What kind of function should be used here?
- Where can I find the appropriate functions to be used for OS measures?
I will wait for any tips from you.
Thanks.