Hi !
I inherited a report which rearrange the object position in a model. It had worked in version 7.1, but when we moved to 7.2, it failed.
When the report calls the method object.SetPosition(x,y), an error occured which says that the script is trying to write a read only attribute.
I'm new with aris scripts, but I found a documentation about reports and macros that says the report is designed to collect a data about model and the macro is designed to manipulate the model. I guess it's a wrong concept to change object place in the model with report, but in the past it worked.
Please make me be sure, I'm on the right way when I intended to reimplement the script as macro to correct the error.
And can anybody explain if how worked the script in the earlier versions? I guess It shouldn't have worked as report.
Thank's
Zoltan
Hello
I confirm that the object.setPosition(x,y) is supported in 7.2. Start by looking at the ArisData.openDatabase statement to check if the database is not opened ReadOnly (p_bReadOnly=true). Also check the executing-user's access rights on the model. Those are the "usual suspects"...
Thierry