How would I align a model to a slope

Discussion created by garsdaledesign on Feb 10, 2013
Latest reply on Feb 15, 2013 by MBuehler-esristaff
I've got an object that I want to align to the slope of the terrain either facing down or up the slope or aligned along it (for example along a contour).   Is there a bit of code that can tell me which way is up and down on a surface?  I know you can assess slope angle of a surface can it be made to tell me the direction?