Is possible to calculate the length of the offset of a polyline without doing the offset?
The perimeter is internal if the polyline is closed and external if open. Currently I do the internal and external offset and take the one with a greater or lesser length depending on whether the polyline is open or closed, then I delete the offset.