I've just started poking around with scripts, and I'm trying to do something I thought would be pretty simple: create a script to increase the radius of all selected circles.
The script correctly loops through all arc/circle objects (GetType(h)=6) and I can have it display the radius using HWidth(h)/2 and add the user's input change value, add them and display the correct new value to set --- I just can't find any way to set the radius. HWidth does provide a correct value, but it's read-only.
It looked like there might be a specific Set function for radius, but I don't see one. I tried GetObjectAttributeReal -- but it asks for a property index. I don't know what to enter, and I can't find any listing anywhere. I don't really think the radius is an attribute anyway. It's part of the object info palette, not the attributes palette. (I even tried looping through index 0 to 10000, setting the script to stop when it found a match for the current radius. No luck.)
I've been searching for two days, and my emoticon accurately describes my current emotional state.
(And where can I find the object property index listing?)