Thank you guys. I have experimented with the code. And so far I have two plugins which I have attached. What I want to do is perform simple structural calculations of simple beams, columns and frames and generate an html report.
The first r.b file the beamdesign.rb, it draws a section and gives you options on certain design parameters of a beam. It creates a menu under the plugins tab. This sort of works,
The second r.b file drawbox.rb I want the user to draw a line/path then the program will execute addface and followme methods to draw a beam on the path. However when I run the drawbox,rb I dont get the beam with the defined length of some reason. Can anyone please help with the Inputpoint.view method in conjuction with a follow.me method. This plugin is not working.
Also if there are structural engineers out there who want to team up and develop a series of plugins to draw, calculate and document designs, please feel free to help. I am a nub but I am willing to devote a good chunk of my time to learn ruby. Thanks for the help so far, It did make a big difference.