@J-Rocks wrote:
....
After closing the opened area, the opening new polyline does not direct the open segment of it to the correct side.
If I understand how it works correctly, that would happen if you didn't follow the instruction to close the area with a Line going in the counter-clockwise direction. Might you have picked the points for the closing Line in the wrong order? But then, I would also expect the Boundary command to have a problem, because it looks like the point it would use to pick the area [the same one it uses for the Offset command] should be outside it, also....
One thing I have sometimes done in a similar situation, that doesn't depend on the direction in which a Polyline is drawn, is to use (vla-offset), which doesn't use a point to determine the direction of offset, but uses a positive or negative distance value. Then I compare the Area of the resulting one to that of the original -- if the new one is smaller, it went inside, or if it's larger, it went outside. If it went the wrong way for whatever the routine is doing, I have it delete that result, and do (vla-offset) again with the opposite sign on the distance value.
Kent Cooper, AIA