The base curve may be offset in either of two directions by specifying a positive or negative offset value.The direction depends on start and end points.
If the offsetDist value is negative, it is usually interpreted as being an offset to make a smaller curve (that is, for an arc it would offset to a radius that is offsetDist less than the starting curve's radius). If the negative value has no meaning in terms of making the curve smaller, a negative offsetDist may be interpreted as an offset in the direction of smaller X,Y,Z WCS coordinates. This is not enforced, so custom entities can interpret the sign of the offsetDist value however they want.
The entities returned in the offsetCurves array are dynamically allocated, but have not been added to an AcDbDatabase yet. So, the application that calls this function is responsible for their memory. If they are subsequently appended to a database, then the database takes over responsibility for their memory. Otherwise, the application is responsible for deleting them when they are no longer needed.
You using GetOffsetCurves?
Quote
If the offsetDist value is negative, it is usually interpreted as being an offset to make a smaller curve (that is, for an arc it would offset to a radius that is offsetDist less than the starting curve's radius). If the negative value has no meaning in terms of making the curve smaller, a negative offsetDist may be interpreted as an offset in the direction of smaller X,Y,Z WCS coordinates. This is not enforced, so custom entities can interpret the sign of the offsetDist value however they want.
The entities returned in the offsetCurves array are dynamically allocated, but have not been added to an AcDbDatabase yet. So, the application that calls this function is responsible for their memory. If they are subsequently appended to a database, then the database takes over responsibility for their memory. Otherwise, the application is responsible for deleting them when they are no longer needed.
You using GetOffsetCurves?
Quote
If the offsetDist value is negative, it is usually interpreted as being an offset to make a smaller curve (that is, for an arc it would offset to a radius that is offsetDist less than the starting curve's radius). If the negative value has no meaning in terms of making the curve smaller, a negative offsetDist may be interpreted as an offset in the direction of smaller X,Y,Z WCS coordinates. This is not enforced, so custom entities can interpret the sign of the offsetDist value however they want.
The entities returned in the offsetCurves array are dynamically allocated, but have not been added to an AcDbDatabase yet. So, the application that calls this function is responsible for their memory. If they are subsequently appended to a database, then the database takes over responsibility for their memory. Otherwise, the application is responsible for deleting them when they are no longer needed.
Yeah, but I'm at a loss as to how I can determine whether or not to use a negative or positive value. It still doesn't explain why some lines are being offset to the other side.
I COULD make everything a polyline and offset it as I've done in the past, but I'd rather be able to offset each item individually because what I'm attempting to do would work better offsetting individual lines.
Any thoughts? Ideas?