I am trying to figure out some code. I have a TIN basemap and a raster file as a maximum height over the TIN. The idea is I need to click a random point on the TIN, have it bring up a window where I can enter length, width, and angle. This would then create a polygon. I then need to find the volume of that polygon made up of the TIN basemap, raster topsurface, length and width. The angle is to take the different heights of the TIN into account when calculating the volume.

Thanks!

When you execute the tool you capture the input parameter as a geometry object to either convert to a featureclass or process further. In this case you would just get out the XY of the point and calculate the boundaries of a polygon to create a polygon geometry object for output.

But maybe you would just create the polygon directly with a polygon template.

http://resources.arcgis.com/en/help/main/10.1/index.html#//002w00000023000000

You could make a really slick interface that picked a coordinate using python AddIns, but that does not easily allow a form to input additional information like a featureset. Addins are much harder to debug.