Using Line Similarity Tool via script
I want to make a button which executes a line similarity. I already marked a line via script and currently I have to go to Tools -> Line Similarity and choose the properties. But I would like to execute this only by clicking on a button. I already saw that there is a function for the forcast but I couldn't find something related to the line similarity tool. It would be perfect if someone can give me a link to the correct page of the spotfire documentation or give another hint or maybe someone has another idea how to make it very easy for users which do not know much about spotfire.