Get roof point and multiply

I have created an odd shaped roof cricket. I keep restart/creating the roof and modify the SubElements.
the roof cricket spans over a 2-way sloped roof.
routine to do is - get point, multiply a distance by a slope. i.e. 4’-0" * .0208 (1/4"/ft slope) to get the height of the point on the roof.