Internal volume of pipes

I would like to calculate the internal volume of a pipeworkassembly. For example, would it be possible to have a customproperty similar to "Volume", but that measures the internal volumeof a pipe? This can be done manually by offsetting the internalgeometry by zero, adding planar surfaces to the ends and knittingtogether to form a solid, but this seems like a time consuming andimpractical solution. Has anybody come across this scenario before?

Many thanks

Matt Marshall
SolidEngineerSolidworksGeneral