today it's a long day debugging a long script. several tips.
1. if you get a error message like this command "not available for current selection", there are two possibilities: (1) you haven't select the right object; (2) your spelling or calling of the command is wrong! check your spelling!
A log of developer's updates,problems, tricks, documentations,etc. Use Categories to find your topic of interest.