title: Is it possible to know programmatically the position of texture in ruby?
body: <p>I written some plugins for sketch-up. I want to know that is it possible to know the texture position that is vertical or horizontal programmatically in ruby ? </p>
  
  <p>Ex: I'm using Sketch-up for wood working and whenever I apply material to the model I should take care of  grains. So that I want to know that the wood grains are in horizontal or vertical. Selecting face then clicking Texture->position we can make horizontal grains to vertical and vice-verse. After applying materials programmatically how should I know the grains are horizontal or vertical.</p>
  
  <p>Is there any solution? </p>